aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r300: Endianness fixes for recent vertex path changes.Michel Dänzer2009-06-072-9/+37
| | | | Signed-off-by: Maciej Cencora <[email protected]>
* r300: vertex array stride = 0 means that data are tightly packed in the arrayMaciej Cencora2009-06-071-5/+8
|
* r300: GL_(U)SHORT and GL_(U)BYTE with < 4 components can also be HW acceleratedMaciej Cencora2009-06-071-20/+29
| | | | | | | Also when index format is GL_UBYTE, convert it to GL_USHORT not GL_UINT. Fix license header too. Reported by: Nicolai Hähnle <[email protected]>
* r300: remove unused codeMaciej Cencora2009-06-074-55/+1
|
* r300: rewrite vertex setup for software T&L path using functions from ↵Maciej Cencora2009-06-074-209/+54
| | | | software TCL path
* r300: prepare for some code duplication removalMaciej Cencora2009-06-072-5/+15
|
* r300: enable EXT_vertex_array_bgra extensionsMaciej Cencora2009-06-071-0/+1
|
* r300: add hw accelerated support for different vertex data formatsMaciej Cencora2009-06-077-57/+485
|
* r300: prepare for different vertex data type supportMaciej Cencora2009-06-076-120/+116
|
* r300: fixup vertex attributes orderingMaciej Cencora2009-06-071-17/+10
| | | | Always allocate the vertex program input registers in the same order as the vertex attributes are passed in vertex arrays.
* r300: always pass 4 color components to RS unitMaciej Cencora2009-06-071-42/+6
| | | | Even if we don't pass all 4 color components to vertex shader unit, the vertex program can generate the missing components.
* radeon: Provide a more detailled GL_RENDERER string.Nicolai Hähnle2009-06-013-5/+47
| | | | | | | | 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 <[email protected]>
* r300: when using cs path emit scissor in the cmdbufferJerome Glisse2009-05-284-0/+43
|
* r300: rework texture offset emission.Jerome Glisse2009-05-281-7/+13
|
* radeon: emit scissor before emiting verticesJerome Glisse2009-05-271-3/+1
|
* radeon: emit scissor when using cs submission style.Jerome Glisse2009-05-271-0/+28
|
* radeon: on update drawable don't firevertices as it might be call from GetLockJerome Glisse2009-05-251-3/+1
| | | | | To avoid locking bug we shouldn't not call firevertices from this path as it's call from radeon get lock.
* r200: emit scissor when dri2 is enabledJerome Glisse2009-05-251-0/+31
| | | | | In DRI1 kernel emit scissor but in dri2 cs path we have to explicitly program them.
* r200: fix multitexturing in dri2 pathJerome Glisse2009-05-251-1/+1
|
* r200: emit cliprect with indexed primitiveJerome Glisse2009-05-251-1/+1
|
* radeon: realloc dma if needed after revalidateJerome Glisse2009-05-241-0/+6
| | | | | Revalidate can trigger flushing and dma buffer deallocation, so retry allocation on such case.
* radeon: Remove drawable & readable from radeon_dri_mirrorNicolai Hähnle2009-05-2413-319/+310
| | | | | | | 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 <[email protected]>
* radeon: reading back to scratch reg through status map doesn't workJerome Glisse2009-05-221-2/+7
| | | | | | 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.
* radeon: maxbuffer size is in bytesJerome Glisse2009-05-211-2/+2
|
* r200: fix vbo array renderingJerome Glisse2009-05-202-4/+5
|
* radeon: Increase reference count of current renderbuffers.Michel Dänzer2009-05-204-10/+11
| | | | | | | Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
* Merge branch 'master' into radeon-rewriteMichel Dänzer2009-05-2080-949/+1646
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/dri/r300/r300_context.c src/mesa/drivers/dri/r300/r300_texstate.c
| * st: reformatting, comments, var renamingBrian Paul2009-05-191-19/+29
| |
| * Merge branch 'mesa_7_5_branch'Brian Paul2009-05-192-4/+15
| |\
| | * mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENTMathias Fröhlich2009-05-191-4/+14
| | | | | | | | | | | | See sourceforge bug #2793846.
| | * mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul2009-05-191-0/+1
| | | | | | | | | | | | When we render to a depth/stencil texture there are stencil bits.
| * | mesa: print more info when valid_texture_object() failsBrian Paul2009-05-191-1/+2
| | |
| * | trace: Improve shader wrappingJakob Bornecrantz2009-05-183-4/+29
| | |
| * | st/dri: Only create new textures if drawable has changedJakob Bornecrantz2009-05-182-0/+17
| | |
| * | r300-gallium: Fix (another) wrong value in MSPOS.Corbin Simpson2009-05-181-1/+1
| | | | | | | | | | | | Again, thanks to agd5f.
| * | radeon-gallium: Remove BO validation debug.Corbin Simpson2009-05-181-4/+0
| | | | | | | | | | | | | | | It appears that that area of code "just works" much like classic Mesa's version, so might as well not waste scrollback on it.
| * | r300-gallium: Cleanup viewport state setup.Corbin Simpson2009-05-181-36/+28
| | |
| * | r300-gallium: Always do VTE, never software viewport.Corbin Simpson2009-05-184-4/+27
| | | | | | | | | | | | This makes glxgears draw properly with SW TCL.
| * | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-186-11/+38
| |\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h
| | * st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level()Brian Paul2009-05-181-2/+6
| | | | | | | | | | | | The stride needs to be in texels, not bytes.
| | * mesa: comments for _mesa_generate_mipmap_level()Brian Paul2009-05-181-0/+3
| | |
| | * softpipe: add texture target sanity check assertionBrian Paul2009-05-181-0/+5
| | |
| | * st: fix incorrect target parameter to screen->is_format_supported()Brian Paul2009-05-181-1/+1
| | | | | | | | | | | | We were passing a GL texture target instead of a pipe_texture_target enum.
| | * Initialize psp->waitX/waitGL for swrast_dri.so.Aidan Thornton2009-05-181-0/+2
| | | | | | | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
| | * mesa: bump version to 7.5-rc2mesa_7_5_rc2Brian Paul2009-05-151-1/+1
| | |
| | * r300: Make sure to drop current hardware state reference to texture objects.Michel Dänzer2009-05-142-8/+21
| | | | | | | | | | | | Fixes potential texture object leaks.
| * | r300-gallium: Enable GLSL for r500.Corbin Simpson2009-05-171-2/+5
| | | | | | | | | | | | | | | | | | Before you get all excited, this is *not* to be construed as actual support for GLSL shaders. The GL version is still 1.3, and stuff still sucks. Just flicking it on so that it can be tested and developed a bit easier.
| * | r300-gallium: r500-fs: DDX and DDY support.Corbin Simpson2009-05-171-0/+10
| | | | | | | | | | | | Oh, look, GLSL instructions. I wonder what I'll do next.
| * | dri-gallium: Add GLSL support.Corbin Simpson2009-05-171-1/+10
| | | | | | | | | | | | Oh, look, it's more features. :3
| * | r300-gallium: Add half-right COS and SIN.Corbin Simpson2009-05-171-0/+9
| | | | | | | | | | | | | | | HW trig does a premultiply by 2pi, where Mesa does another premultiply by pi. This is a problem.