summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-02-16dri2: Event driven buffer validation.Francisco Jerez
When a buffer invalidation event is received from the X server, the "invalidate" hook of the DRI2 flush extension is executed: A generic implementation (dri2InvalidateDrawable) is provided that just bumps the "pStamp" sequence number in __DRIdrawableRec. For old servers not supporting buffer invalidation events, the invalidate hook will be called before flushing the fake front/back buffer (that's typically once per frame -- not a lot worse than the situation we were in before). No effort has been made on preserving backwards compatibility with version 2 of the flush extension, but I think it's acceptable because AFAIK no released stack is making use of it. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-02-16dri2: Allocate cliprect as part of the __DRIdrawableRecKristian Høgsberg
2010-02-16glx: Move GetGLXDRIDrawable() prototype to glxclient.hKristian Høgsberg
2010-02-16mesa: Lock mutex around _mesa_HashLookup linked list chase.Brian Paul
Remove const qualifier from _mesa_HashLookup() table parameter to avoid LOCK/UNLOCK warnings in the function body. Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a)
2010-02-16mesa: Test for failed malloc in _mesa_HashInsert.Brian Paul
Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215)
2010-02-16glsl/pp: Do not try to enable extension `all'.Michal Krol
2010-02-16nv50: use hw idx buffers where we canBen Skeggs
2010-02-16nouveau: fix for latest libdrmBen Skeggs
2010-02-15wgl: Be lenient when sharing contexts.José Fonseca
My first reading of MS docs was wrong. It says: All rendering contexts of a shared display list must use an identical pixel format. Otherwise the results depend on the implementation of OpenGL used. That is, it is OK to share contexts with different pixel formats. Adobe Premiere Pro tries to do that: share lists between a rgbx8 and a rgba8 pixel format.
2010-02-15glsl/pp: Fix handling of if/elif/else cases.Michal Krol
Once if/elif evalutes to true, all subsequent conditions are always false.
2010-02-15vbo: fix broken glMultiDrawElements()Brian Paul
Seems to be a regression from commit 60b08eb1fdf287d28ec66b9282513ab35a61aee0. (cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633)
2010-02-15glu/sgi: Add assert to check for null pointer dereference.Vinson Lee
2010-02-15mesa: Remove pointless comparison of unsigned integer with a negative constant.Vinson Lee
2010-02-15glsl/pp: Add asserts to check for null pointer deferences.Vinson Lee
2010-02-14draw: Add assert to check input of memcpy.Vinson Lee
2010-02-14glu/sgi: Move initialization of members to top of Curve constructor.Vinson Lee
This is a modification of commit 53d448657bd300ab68b2869b2fba76a627699baf. The members cpts and spts are possibly used as arguments later in the constructor.
2010-02-14glu/sgi: Initialize members of class Curvelist.Vinson Lee
2010-02-14glu/sgi: Initialize members of class Curve.Vinson Lee
2010-02-14glu/sgi: Initialize member of class Pool.Vinson Lee
2010-02-14glx: Silence uninitialized variable warning.Vinson Lee
2010-02-14st/mesa: minor assorted clean-upsBrian Paul
2010-02-14st/mesa: change some function return typesBrian Paul
2010-02-14st/mesa: move per-fragment shader fields to local varsBrian Paul
2010-02-14st/mesa: use _mesa_clone_fragment_program()Brian Paul
2010-02-14r600: use new program cloning functionsBrian Paul
2010-02-14r300: use new program cloning functionsBrian Paul
2010-02-14glsl: use new program cloning functionsBrian Paul
2010-02-14mesa: added _mesa_clone_vertex/fragment_program()Brian Paul
To reduce casting elsewhere...
2010-02-14r600: Silence uninitialized variable warnings.Vinson Lee
2010-02-15r300g: fix the size of constant buffersMarek Olšák
4 more piglit tests pass, sweet.
2010-02-15python: Reconstruct blend state objects from binary blobs.José Fonseca
2010-02-15trace: Dump blend state as a binary blob.José Fonseca
Gallium interfaces are too fluid -- XML or not is just too much work trying to accommodate for differences in traces. SWIG generated bindings are also full of quirks, making unmarshalling the XML from too hard. Finally, this is the first step for faster tracing.
2010-02-15trace: Fix constant buffer unwrapping.José Fonseca
Pointer unwrapping should happen before dump the pointer, so that the real pipe driver pointers are shown, instead of the trace driver's.
2010-02-14util: Avoid dumping masked state. Other minor improvements.José Fonseca
2010-02-14os: A stream for debug logging.José Fonseca
Just a wrapper around os_log_message. Although it would probably make more sense to be the other way around. Also some comment fixes.
2010-02-14trace: No need to dump reference counts.José Fonseca
2010-02-14python: Pretty-printing of blend state.José Fonseca
2010-02-14util: Helper functions to dump all state objects.José Fonseca
2010-02-14os: Add a growable string stream.José Fonseca
2010-02-14os: Complement/improve stream inline helpers.José Fonseca
2010-02-14os: Fix bad calloc.José Fonseca
2010-02-14trace: Update for os_stream changes.José Fonseca
2010-02-14util: Update for os_stream changes.José Fonseca
2010-02-14os: Make streams abstract.José Fonseca
Also replace windows kernel stream with null implementation. It was severely limited and no easy means to test it now.
2010-02-14glut: Silence uninitialized variable warning.Vinson Lee
2010-02-14llvmpipe: Silence unused value warning.Vinson Lee
2010-02-14svga: Silence uninitialized variable warning.Vinson Lee
2010-02-14r300: add half_float_vertex supportMarek Olšák
2010-02-14mesa: Don't pass paramter to __builtin_clz which would hve undefined result.Pauli Nieminen
__builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case.
2010-02-14r300g: set the correct tiling flags for renderbuffersMarek Olšák
MACRO_SWITCH is applied to samplers but not renderbuffers. This commit fixes incorrect rendering to large and small mipmaps where the large ones are macrotiled and the small ones are not and both are emitted in the same CS. Note that this is still disabled by default (rework of texture transfers is next).