summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-06-09radeon: fix mipmap_limits crasher.Dave Airlie
This gets the correct srclvl image map when uploading images to the new mipmap.
2009-06-01radeon: Provide a more detailled GL_RENDERER string.Nicolai Hähnle
Display the chip family and PCI ID. This can be parsed easily, and essentially all information that the driver has about the chip can be deduced from it. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-05-27radeon: emit scissor before emiting verticesJerome Glisse
2009-05-27radeon: emit scissor when using cs submission style.Jerome Glisse
2009-05-25radeon: on update drawable don't firevertices as it might be call from GetLockJerome Glisse
To avoid locking bug we shouldn't not call firevertices from this path as it's call from radeon get lock.
2009-05-24radeon: realloc dma if needed after revalidateJerome Glisse
Revalidate can trigger flushing and dma buffer deallocation, so retry allocation on such case.
2009-05-24radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle
The duplication of state data caused a crash due to double-free on destruction of context, because a variable wasn't correctly null'ed out. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-05-22radeon: reading back to scratch reg through status map doesn't workJerome Glisse
For some unknown reasons the scratch reg value doesn't endup in the status map at the scratch reg offset, this is a temporary work around until we figure out why it doesn't work.
2009-05-21radeon: maxbuffer size is in bytesJerome Glisse
2009-05-20r200: fix vbo array renderingJerome Glisse
2009-05-20radeon: Increase reference count of current renderbuffers.Michel Dänzer
Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
2009-05-20radeon: set max texture sizeJerome Glisse
This still need some work to actually report somethings reasonable if no memory manager is available.
2009-05-13R1xx/r2xx: Don't use an alpha texture format for GLX_TEXTURE_FORMAT_RGB_EXTAlex Deucher
In r*00SetTexBuffer2(), if the passed in text glx_texture_format is GLX_TEXTURE_FORMAT_RGB_EXT, then we should use an RGB-only texture format, even if the DRI buffer has four channels. https://bugs.freedesktop.org/show_bug.cgi?id=21609
2009-05-13radeon: Don't crash generating mipmaps when pixels=NULLOwen W. Taylor
When a NULL value of pixels is passed to TexImage2D and SGIS_generate_mipmap is enabled, don't try to generate the mipmap tree: we don't have data yet for the texture and will crash. https://bugs.freedesktop.org/show_bug.cgi?id=21648
2009-05-13Call _mesa_update_stencil() before accessing ctx->Stencil._EnabledOwen W. Taylor
ctx->Stencil._Enabled is derived state and not immediately updated when the stencil parameters are changed; we need to make sure that it is up-to-date before accessing it. https://bugs.freedesktop.org/show_bug.cgi?id=21608
2009-05-12radeon: glReadBuffer set _NEW_BUFFERS, not _NEW_PIXELJerome Glisse
This was broken with last merge see 62043b27575c378c027251316421e4699f461108 for explanations
2009-05-12radeon: avoid segfault in radeon_update_renderbuffers() if using DRI1Tormod Volden
Basically the same as 43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f for intel. Bug 21688. Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2009-05-10radeon: add support for new dri2 interfaces & fix single buffer renderingJoel Bosveld
2009-05-09radeon: don't include cs uncondionalyJerome Glisse
2009-05-08radeon: IRQ always enabled in DRI2 path no need to query kernel for itJerome Glisse
2009-05-07r300: fix compiler warningsMaciej Cencora
2009-05-06When clearing the stencil buffer, don't use a two-sided stencilOwen W. Taylor
In radeon_clear_tris(), when clearing the stencil buffer, pass GL_FRONT_AND_BACK to _mesa_StencilFuncSeparate(), to avoid triggering a software fallback on r300 and below. https://bugs.freedesktop.org/show_bug.cgi?id=21601
2009-05-06radeon: hopefully fixup radeon cube state emission for kmsDave Airlie
2009-05-06r100/r200: try and allocate miptree correct for hw.Dave Airlie
This doesn't make things worse but according to sroland it is how the GPU hw expects things on the r100/r200
2009-05-05radeon/r200: enable all the optional drm support bitsDave Airlie
2009-05-04r300: set proper texture row alignment for IGP chipsMaciej Cencora
Looks like r400 based IGP chips require 64 byte alignment
2009-04-28R300: add quadpipe overridesAlex Deucher
RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override.
2009-04-28radeno: cleanup the startup path furtherDave Airlie
2009-04-28radeon: further cleanup dri1 screen initDave Airlie
2009-04-28radeon: remove kernel mm, dri2 path takes care of itDave Airlie
2009-04-27r300: fix valgrind warningsMaciej Cencora
2009-04-27r300: add atom print function for kernel mm pathMaciej Cencora
2009-04-19r300: revert part of cb4bef7ae0b5fe8de82c380bc98f19067394d355Maciej Cencora
Some debugging code got there by accident
2009-04-19r300: general cleanupMaciej Cencora
- remove unused fields - remove unused defines and macros - flatten one structure
2009-04-19radeon: update clear state with latest intel codeDave Airlie
2009-04-16radeon: take a bo reference when adding to validate listDave Airlie
2009-04-12radeon: emit scissor when using cs pathJerome Glisse
2009-04-09Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
2009-04-07radeon: fix compiler warningAlex Deucher
2009-04-07radeon/r200/r300: fix missing dma buffer validationDave Airlie
this make gnome shell run
2009-04-07radeon: fix bocs wrapperDave Airlie
2009-04-06radeon: add support for new ttmJerome Glisse
2009-04-06radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16.Michel Dänzer
Otherwise current xserver / libGL no longer expose a 32 bit RGBA GLX visual, and compiz fails. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20479 .
2009-04-03mesa: rename some gl_light fields to be clearerBrian Paul
EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
2009-04-02radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie
This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
2009-04-02radeon/common: use glCtx not ctxDave Airlie
2009-04-02radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie
Context destruction was nearly the same over all the drivers, so collapse it down.
2009-04-01dri: use BorderColor instead of _BorderChanBrian Paul
2009-04-01radeon: go back and repick texture formats.Dave Airlie
This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
2009-04-01radeon: fixup render buffer cleanupsDave Airlie
this fixes qtdemo-qt4 starting and a leak in glxgears exit