summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-11-29mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee
_mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array.
2009-11-29mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee
_mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array.
2009-11-29radeon: update miptree code a littleMaciej Cencora
Simplify gl image level <-> miptree level mapping (are equal now). Don't allocate miptree for images that won't fit in it (fixes #25230).
2009-11-29radeon: don't check the same miptree many times when looking for matching ↵Maciej Cencora
miptrees
2009-11-29radeon: add some debugging infoMaciej Cencora
2009-11-29mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array.
2009-11-28mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array.
2009-11-28dri: Fix potential null pointer dereference in driBindContext.Vinson Lee
2009-11-28mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array.
2009-11-28radeon: need to flush cs when moving images between mipmap treesMaciej Cencora
2009-11-27mesa: Avoid void pointer arithmetic.José Fonseca
2009-11-25radeon: fix context destroy needing lock for flushing.Dave Airlie
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 <airlied@redhat.com>
2009-11-24dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee
2009-11-23radeon: fix errors in miptree related functionMaciej Cencora
- typo - memory leak - off by one (spotted by airlied)
2009-11-23mesa: Initialize variable in _mesa_get_texel_fetch_func.Vinson Lee
2009-11-22r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora
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.
2009-11-22r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora
2009-11-21radeon: fix compressed mipmapped texturesMaciej Cencora
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21radeon: fix glCompressedTexSubImageMaciej Cencora
2009-11-21intel: make CopyTex[Sub]Image fallback debug messages more consistentRoland Scheidegger
2009-11-21mesa: handle different RowStride in _mesa_get_compressed_teximageRoland Scheidegger
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).
2009-11-21i965: Fix several memory leaks on exit.Eric Anholt
Bug #25194.
2009-11-20mesa: Fix NULL deref in optimizer when NumInstructions == 0.Eric Anholt
Bug #24984.
2009-11-20r100: fix texture_from_pixmap and compiz.Dave Airlie
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 <airlied@redhat.com>
2009-11-19st/mesa: replace st_flush() with pipe->flush()Brian Paul
We only need to flush the gallium driver in this case. Fixes a recursive state validation bug.
2009-11-19vbo: added recursion check in vbo_exec_FlushVertices()Brian Paul
2009-11-19st/mesa: get rid of compressed_num_bytes() codeBrian Paul
2009-11-19st/mesa: remove is_compressed_mesa_format()Brian Paul
2009-11-19st/mesa: remove pointless assertionBrian Paul
2009-11-18r300: allow disabling s3tc support if libtxc_dxtn is availableMaciej Cencora
2009-11-18Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora
2009-11-18r600: align for mipmap tree changesMaciej Cencora
2009-11-17AL1616: Fix cut-and-paste bugIan Romanick
One of the PACK_COLOR_88 cases was left over from copying _mesa_texstore_al88 to _mesa_texstore_al1616.
2009-11-17Merge branch 'outputswritten64'Ian Romanick
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
2009-11-17ARB_fbo: Add missing GLX render opcode for glFramebufferTextureLayerEXTIan Romanick
Also regenerate the GLX protocol files from this change.
2009-11-17Add missing XML files to API_XMLIan Romanick
When the files missing from the list were modified, the generated files weren't regenerated.
2009-11-17ARB_fbo: Enable GL_EXT_framebuffer_multisampleIan Romanick
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.
2009-11-17ARB_fbo: Regenerate files from previous commits.Ian Romanick
2009-11-17ARB_fbo: Move EXT_fb_blit to EXT_framebuffer_object.xmlIan Romanick
This extension is layered on GL_EXT_framebuffer_object, so it should live in the same XML file.
2009-11-17ARB_fbo: Add GL_EXT_framebuffer_multisampleIan Romanick
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.
2009-11-17EXT_pds: Alias GL_NV_packed_depth_stencil to GL_EXT_packed_depth_stencilIan Romanick
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.
2009-11-17EXT_pds: Add GL_EXT_packed_depth_stencilIan Romanick
2009-11-17EXT_fbo_blit: Add missing GLX protocol render opcodeIan Romanick
2009-11-17ARB_fbo: Add missing protocol "Get" informationIan Romanick
2009-11-17ARB_fbo: Remove _EXT from enum namesIan Romanick
2009-11-17mesa: remove old commentBrian Paul
2009-11-17mesa: fix assorted compiler warningsBrian Paul
2009-11-17mesa: fix incorrect type in store_texel_al1616()Brian Paul
2009-11-17mesa: remove trailing comment to silence warningBrian Paul
2009-11-17mesa: remove a bit of old codeBrian Paul