Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Ian Romanick | 2009-11-30 | 7 | -53/+77 |
|\ | | | | | | | | | | | | | Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h | ||||
| * | i915: Actually put i915PointParameterfv in the driver function table. Duh. | Ian Romanick | 2009-11-30 | 1 | -0/+1 |
| | | |||||
| * | i915: Fallback bit define missed on previous commit | Ian Romanick | 2009-11-29 | 1 | -0/+1 |
| | | |||||
| * | i915: Round point sizes instead of truncate. | Ian Romanick | 2009-11-29 | 1 | -1/+1 |
| | | |||||
| * | i915: Enable point sprite coordinate generation | Ian Romanick | 2009-11-29 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Support still isn't completely correct, but it's better. piglit point-sprite now passes. However, glean's pointSprite test fails. In that test the texture on the sprite is somehow inverted as though GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware shouldn't be able to do that! I believe there are also problems when not all texture units have GL_COORD_REPLACE set. The hardware enable seems to be all or nothing. Fixes bug #25313. | ||||
| * | Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errors | Ian Romanick | 2009-11-25 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enum is only supported for OpenGL 2.0. If a driver supports OpenGL 1.4 and GL_ARB_point_sprite, using this enum should generate an error. This is important because, for example, i915 and i830 can support GL_ARB_point_sprite, but they cannot support GL_POINT_SPRITE_COORD_ORIGIN. This commit just removes the check for NV_point_sprite, which is completely wrong, and add some comments describing what the code should do. I don't see an easy way to check for version >= 2.0 from inside Mesa. Perhaps we should add an extension GL_MESA_point_sprite_20 (like Intel's old GL_EXT_packed_pixels_12) to indicate that this added bit of functionality is available. Also note that glean's pointSprite test only checks for GL_ARB_point_sprite before trying to use GL_POINT_SPRITE_COORD_ORIGIN. Naturally, that fails on non-2.0 implementations (i.e., Mac OS X on GMA 950). | ||||
| * | radeon: fix context destroy needing lock for flushing. | Dave Airlie | 2009-11-25 | 1 | -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]> | ||||
| * | i915: Initialize Length and Offset fields when mapping a buffer object | Ian Romanick | 2009-11-23 | 1 | -0/+2 |
| | | | | | | | | | | | | This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253. | ||||
| * | Fix the DRI swrast driver for big endian platforms. | Michel Dänzer | 2009-11-23 | 1 | -43/+29 |
| | | | | | | | | | | | | Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 . | ||||
| * | mesa: define 32bit byteswap for AIX. | Tom Fogal | 2009-11-19 | 1 | -1/+6 |
| | | | | | | | | | | | | Fixes `xlib' driver build on AIX. Signed-off-by: Brian Paul <[email protected]> | ||||
| * | r600: disable compressed texture supportmesa_7_6_1_rc1 | Alex Deucher | 2009-11-18 | 1 | -0/+4 |
| | | | | | | | | It's not implemented yet. fixes fdo bug 24047 | ||||
| * | Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1." | Alex Deucher | 2009-11-18 | 1 | -7/+2 |
| | | | | | | | | | | | | This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131 | ||||
| * | mesa: set version string to 7.6.1-rc1 | Brian Paul | 2009-11-18 | 1 | -1/+1 |
| | | |||||
* | | mesa: Fix array out-of-bounds access by _mesa_TexParameterf. | Vinson Lee | 2009-11-29 | 1 | -2/+7 |
| | | | | | | | | | | _mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array. | ||||
* | | mesa: Fix array out-of-bounds access by _mesa_TexParameterf. | Vinson Lee | 2009-11-29 | 1 | -2/+4 |
| | | | | | | | | | | _mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array. | ||||
* | | radeon: update miptree code a little | Maciej Cencora | 2009-11-29 | 3 | -55/+61 |
| | | | | | | | | | | Simplify gl image level <-> miptree level mapping (are equal now). Don't allocate miptree for images that won't fit in it (fixes #25230). | ||||
* | | radeon: don't check the same miptree many times when looking for matching ↵ | Maciej Cencora | 2009-11-29 | 1 | -3/+3 |
| | | | | | | | | miptrees | ||||
* | | radeon: add some debugging info | Maciej Cencora | 2009-11-29 | 2 | -0/+25 |
| | | |||||
* | | mesa: Fix array out-of-bounds access by _mesa_TexGenf. | Vinson Lee | 2009-11-29 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array. | ||||
* | | mesa: Fix array out-of-bounds access by _mesa_TexGeni. | Vinson Lee | 2009-11-28 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array. | ||||
* | | dri: Fix potential null pointer dereference in driBindContext. | Vinson Lee | 2009-11-28 | 1 | -1/+2 |
| | | |||||
* | | mesa: Fix array out-of-bounds access in _mesa_TexEnvf. | Vinson Lee | 2009-11-28 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array. | ||||
* | | radeon: need to flush cs when moving images between mipmap trees | Maciej Cencora | 2009-11-28 | 1 | -0/+4 |
| | | |||||
* | | mesa: Avoid void pointer arithmetic. | José Fonseca | 2009-11-27 | 1 | -1/+2 |
| | | |||||
* | | radeon: fix context destroy needing lock for flushing. | Dave Airlie | 2009-11-25 | 1 | -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 Lee | 2009-11-24 | 1 | -4/+4 |
| | | |||||
* | | radeon: fix errors in miptree related function | Maciej Cencora | 2009-11-23 | 1 | -3/+8 |
| | | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied) | ||||
* | | mesa: Initialize variable in _mesa_get_texel_fetch_func. | Vinson Lee | 2009-11-23 | 1 | -1/+1 |
| | | |||||
* | | r300: fix VP source conflict resolution on 64-bit machines | Maciej Cencora | 2009-11-22 | 1 | -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 fp | Maciej Cencora | 2009-11-22 | 1 | -5/+5 |
| | | |||||
* | | radeon: fix compressed mipmapped textures | Maciej Cencora | 2009-11-21 | 2 | -22/+29 |
| | | | | | | | | Tested on r300 only, other cards may require adjusting texture_compressed_row_align. | ||||
* | | radeon: fix glCompressedTexSubImage | Maciej Cencora | 2009-11-21 | 1 | -10/+12 |
| | | |||||
* | | intel: make CopyTex[Sub]Image fallback debug messages more consistent | Roland Scheidegger | 2009-11-21 | 1 | -2/+8 |
| | | |||||
* | | mesa: handle different RowStride in _mesa_get_compressed_teximage | Roland Scheidegger | 2009-11-21 | 1 | -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 Anholt | 2009-11-21 | 4 | -5/+11 |
| | | | | | | | | Bug #25194. | ||||
* | | mesa: Fix NULL deref in optimizer when NumInstructions == 0. | Eric Anholt | 2009-11-20 | 1 | -1/+1 |
| | | | | | | | | Bug #24984. | ||||
* | | r100: fix texture_from_pixmap and compiz. | Dave Airlie | 2009-11-20 | 1 | -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 Paul | 2009-11-19 | 1 | -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 Paul | 2009-11-19 | 1 | -1/+17 |
| | | |||||
* | | st/mesa: get rid of compressed_num_bytes() code | Brian Paul | 2009-11-19 | 1 | -36/+4 |
| | | |||||
* | | st/mesa: remove is_compressed_mesa_format() | Brian Paul | 2009-11-19 | 1 | -21/+2 |
| | | |||||
* | | st/mesa: remove pointless assertion | Brian Paul | 2009-11-19 | 1 | -2/+0 |
| | | |||||
* | | r300: allow disabling s3tc support if libtxc_dxtn is available | Maciej Cencora | 2009-11-18 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch | Maciej Cencora | 2009-11-18 | 26 | -624/+627 |
|\ \ | |||||
| * | | r600: align for mipmap tree changes | Maciej Cencora | 2009-11-18 | 3 | -40/+24 |
| | | | |||||
| * | | r200: align for mipmap tree changes | Maciej Cencora | 2009-11-17 | 3 | -30/+14 |
| | | | |||||
| * | | radeon: align for mipmap tree changes | Maciej Cencora | 2009-11-17 | 3 | -30/+14 |
| | | | |||||
| * | | radeon: return false on texture validation if texture isn't complete | Maciej Cencora | 2009-11-14 | 1 | -3/+3 |
| | | | |||||
| * | | radeon: rework mipmap tree | Maciej Cencora | 2009-11-14 | 8 | -364/+400 |
| | | | |||||
| * | | radeon: more texture code refactoring | Maciej Cencora | 2009-11-14 | 1 | -116/+92 |
| | | |