summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* radeon: fix context destroy needing lock for flushing.Dave Airlie2009-11-251-5/+4
| | | | | | | | | Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <[email protected]>
* dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee2009-11-241-4/+4
|
* radeon: fix errors in miptree related functionMaciej Cencora2009-11-231-3/+8
| | | | | | - typo - memory leak - off by one (spotted by airlied)
* mesa: Initialize variable in _mesa_get_texel_fetch_func.Vinson Lee2009-11-231-1/+1
|
* r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora2009-11-221-1/+1
| | | | | On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
* r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora2009-11-221-5/+5
|
* radeon: fix compressed mipmapped texturesMaciej Cencora2009-11-212-22/+29
| | | | Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
* radeon: fix glCompressedTexSubImageMaciej Cencora2009-11-211-10/+12
|
* intel: make CopyTex[Sub]Image fallback debug messages more consistentRoland Scheidegger2009-11-211-2/+8
|
* mesa: handle different RowStride in _mesa_get_compressed_teximageRoland Scheidegger2009-11-211-6/+21
| | | | | | drivers storing compressed textures with non-native stride but relying on _mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't work correctly (for instance i965 compressed mipmaps).
* i965: Fix several memory leaks on exit.Eric Anholt2009-11-214-5/+11
| | | | Bug #25194.
* mesa: Fix NULL deref in optimizer when NumInstructions == 0.Eric Anholt2009-11-201-1/+1
| | | | Bug #24984.
* r100: fix texture_from_pixmap and compiz.Dave Airlie2009-11-201-7/+10
| | | | | | | | r100 state emission has separate rect and non-rect states, if we are doing TFP for a TEXTURE_2D we shouldn't use the rect states as they won't get emitted properly. Signed-off-by: Dave Airlie <[email protected]>
* st/mesa: replace st_flush() with pipe->flush()Brian Paul2009-11-191-1/+1
| | | | | We only need to flush the gallium driver in this case. Fixes a recursive state validation bug.
* vbo: added recursion check in vbo_exec_FlushVertices()Brian Paul2009-11-191-1/+17
|
* st/mesa: get rid of compressed_num_bytes() codeBrian Paul2009-11-191-36/+4
|
* st/mesa: remove is_compressed_mesa_format()Brian Paul2009-11-191-21/+2
|
* st/mesa: remove pointless assertionBrian Paul2009-11-191-2/+0
|
* r300: allow disabling s3tc support if libtxc_dxtn is availableMaciej Cencora2009-11-181-3/+3
|
* Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora2009-11-1826-624/+627
|\
| * r600: align for mipmap tree changesMaciej Cencora2009-11-183-40/+24
| |
| * r200: align for mipmap tree changesMaciej Cencora2009-11-173-30/+14
| |
| * radeon: align for mipmap tree changesMaciej Cencora2009-11-173-30/+14
| |
| * radeon: return false on texture validation if texture isn't completeMaciej Cencora2009-11-141-3/+3
| |
| * radeon: rework mipmap treeMaciej Cencora2009-11-148-364/+400
| |
| * radeon: more texture code refactoringMaciej Cencora2009-11-141-116/+92
| |
| * radeon: minor refactoring of texture codeMaciej Cencora2009-11-141-11/+46
| | | | | | | | Also properly set dstImageOffsets for TexSubImage case.
| * radeon: rework mipmap tree reference countingMaciej Cencora2009-11-145-37/+30
| |
| * r300: fix regression introduced in 1d5a06a1f7812c055db1d724e40d21a0e3686dd1Maciej Cencora2009-11-141-1/+1
| | | | | | | | Spotted by Dave Airlie
| * radeon: use radeon_bo_is_referenced_by_cs for query objectsMaciej Cencora2009-11-144-23/+3
| |
| * radeon/r300: don't flush cmdbuf if not necessaryMaciej Cencora2009-11-142-3/+19
| |
| * radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵Maciej Cencora2009-11-142-2/+5
| | | | | | | | mode
| * radeon: fix glBufferSubDataMaciej Cencora2009-11-141-0/+5
| |
| * radeon: add radeon_bo_is_referenced_by_cs functionMaciej Cencora2009-11-141-0/+13
| |
| * radeon: remove unnecessary call to radeonEmitStateMaciej Cencora2009-11-141-2/+0
| | | | | | | | fixes bo space accounting errors
| * r300: add missing texformatMaciej Cencora2009-11-141-0/+1
| |
| * r300: remove unneeded includesMaciej Cencora2009-11-143-5/+0
| |
* | AL1616: Fix cut-and-paste bugIan Romanick2009-11-171-2/+2
| | | | | | | | | | One of the PACK_COLOR_88 cases was left over from copying _mesa_texstore_al88 to _mesa_texstore_al1616.
* | Merge branch 'outputswritten64'Ian Romanick2009-11-1733-82/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
* | ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXTIan Romanick2009-11-171-0/+1
| | | | | | | | Also regenerate the GLX protocol files from this change.
* | Add missing XML files to API_XMLIan Romanick2009-11-171-2/+5
| | | | | | | | | | When the files missing from the list were modified, the generated files weren't regenerated.
* | ARB_fbo: Enable GL_EXT_framebuffer_multisampleIan Romanick2009-11-172-2/+7
| | | | | | | | | | | | | | | | All of this functionality is already included in ARB_fbo. This just enables the string. I was a bit lazy in using FEATURE_ARB_framebuffer_object for this feature as well. I don't think it makes much difference in the long run.
* | ARB_fbo: Regenerate files from previous commits.Ian Romanick2009-11-177-3862/+3919
| |
* | ARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xmlIan Romanick2009-11-172-24/+24
| | | | | | | | | | This extension is layered on GL_EXT_framebuffer_object, so it should live in the same XML file.
* | ARB_fbo: Add GL_EXT_framebuffer_multisampleIan Romanick2009-11-172-0/+17
| | | | | | | | | | | | | | | | | | | | Add GL_EXT_framebuffer_multisample. Make glRenderbufferStorageMultisampleEXT in GL_EXT_framebuffer_object alias glRenderbufferStorageMultisample. Also add the missing GLX render opcode to glRenderbufferStorageMultisample. Since this extension is layered on GL_EXT_framebuffer_object, I put it in EXT_framebuffer_object.xml.
* | EXT_pds: Alias GL_NV_packed_depth_stencil to GL_EXT_packed_depth_stencilIan Romanick2009-11-171-0/+1
| | | | | | | | | | | | GL_EXT_packed_depth_stencil is a functional superset of GL_NV_packed_depth_stencil. If a driver enables EXT_pds, make NV_pds available as well.
* | EXT_pds: Add GL_EXT_packed_depth_stencilIan Romanick2009-11-172-0/+20
| |
* | EXT_fbo_blit: Add missing GLX protocol render opcodeIan Romanick2009-11-171-0/+1
| |
* | ARB_fbo: Add missing protocol "Get" informationIan Romanick2009-11-171-2/+7
| |
* | ARB_fbo: Remove _EXT from enum namesIan Romanick2009-11-171-12/+12
| |