Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-29 | mesa: 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-28 | mesa: 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-28 | dri: Fix potential null pointer dereference in driBindContext. | Vinson Lee | |
2009-11-28 | mesa: 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-28 | radeon: need to flush cs when moving images between mipmap trees | Maciej Cencora | |
2009-11-27 | mesa: Avoid void pointer arithmetic. | José Fonseca | |
2009-11-27 | Merge branch 'width0' | Roland Scheidegger | |
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c | |||
2009-11-26 | gallium: fix more statetrackers/drivers for not using texture ↵ | Roland Scheidegger | |
width/height/depth arrays | |||
2009-11-25 | Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errors | Ian Romanick | |
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). | |||
2009-11-26 | Merge commit 'origin/st-shader-varients' | Roland Scheidegger | |
Conflicts: src/mesa/state_tracker/st_atom_shader.c src/mesa/state_tracker/st_program.c | |||
2009-11-25 | slang/library: Don't need the *_gc.h files, they are autogenerated now. | Michal Krol | |
2009-11-25 | scons: Autogenerate GLSL builtin library *_gc.h from *.gc files. | Michal Krol | |
2009-11-25 | radeon: 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-25 | r600: add ARB_texture_non_power_of_two support. | Dave Airlie | |
This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-24 | r600 : reset stack flag with one channel only. | Richard Li | |
2009-11-24 | r600 : fix stack depth setting bug. | Richard Li | |
2009-11-25 | radeon: 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-24 | slang: Fix allocation size. | Michal Krol | |
We don't need 16K+ to store a single pointer. | |||
2009-11-24 | mesa: Fix pointer arithmetic. | Michal Krol | |
2009-11-23 | i915: Initialize Length and Offset fields when mapping a buffer object | Ian Romanick | |
This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253. | |||
2009-11-24 | r300: fix swtcl bo leak problem. | Dave Airlie | |
We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-24 | radeon/r200/r300/r600: make bo mapping be explicit | Dave Airlie | |
This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-23 | mesa: use gcc __builtin_popcount() | Brian Paul | |
2009-11-24 | dri: Fix potential null pointer deference in dri_put_drawable. | Vinson Lee | |
2009-11-23 | Merge commit 'origin/mesa_7_7_branch' | Maciej Cencora | |
2009-11-23 | radeon: fix errors in miptree related function | Maciej Cencora | |
- typo - memory leak - off by one (spotted by airlied) | |||
2009-11-23 | slang: Fix order of parameters to sl_pp_tokenise(). | Michal Krol | |
2009-11-23 | Fix the DRI swrast driver for big endian platforms. | Michel Dänzer | |
Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 . | |||
2009-11-23 | slang: Check return value from emit_instruction(). | Michal Krol | |
2009-11-23 | slang: Be more robust with memory in concat_shaders(). | Michal Krol | |
2009-11-23 | mesa: Initialize variable in _mesa_get_texel_fetch_func. | Vinson Lee | |
2009-11-22 | r600 : add support for shader instruction trunc and discard. | Richard Li | |
2009-11-23 | r600: hopefully fix segfault. | Dave Airlie | |
2009-11-23 | r600: fix inline issues | Dave Airlie | |
2009-11-22 | r600 : add stack depth calculation, enable CF pop. | Richard Li | |
2009-11-22 | r600 : use cf for all pop now, left optimization for future. | Richard Li | |
2009-11-22 | r300: fix VP source conflict resolution on 64-bit machines | Maciej 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-22 | r300: fix SIN/COS/SCS instructions for R300 fp | Maciej Cencora | |
2009-11-21 | slang: No need to purify source text for tokeniser. | Michal Krol | |
2009-11-21 | radeon: fix compressed mipmapped textures | Maciej Cencora | |
Tested on r300 only, other cards may require adjusting texture_compressed_row_align. | |||
2009-11-21 | radeon: fix glCompressedTexSubImage | Maciej Cencora | |
2009-11-21 | intel: make CopyTex[Sub]Image fallback debug messages more consistent | Roland Scheidegger | |
2009-11-21 | mesa: handle different RowStride in _mesa_get_compressed_teximage | Roland 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-21 | i965: Fix several memory leaks on exit. | Eric Anholt | |
Bug #25194. | |||
2009-11-20 | r600 : eliminate Wondows line ending for test code. | Richard Li | |
2009-11-20 | Merge remote branch 'origin/mesa_7_7_branch' | Dave Airlie | |
2009-11-20 | r100: 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-19 | r600 : Clean up a bit test code mess. | Richard Li | |
2009-11-19 | gallium: don't use arrays for texture width,height,depth | Keith Whitwell | |
2009-11-19 | st/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. |