summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* dri/nouveau: Use event driven buffer validation.Francisco Jerez2010-02-162-4/+41
|
* dri2: Event driven buffer validation.Francisco Jerez2010-02-168-27/+59
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
* dri2: Allocate cliprect as part of the __DRIdrawableRecKristian Høgsberg2010-02-162-4/+8
|
* glx: Move GetGLXDRIDrawable() prototype to glxclient.hKristian Høgsberg2010-02-163-8/+4
|
* mesa: Lock mutex around _mesa_HashLookup linked list chase.Brian Paul2010-02-162-3/+6
| | | | | | | | | Remove const qualifier from _mesa_HashLookup() table parameter to avoid LOCK/UNLOCK warnings in the function body. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a)
* mesa: Test for failed malloc in _mesa_HashInsert.Brian Paul2010-02-161-4/+6
| | | | | | Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215)
* glsl/pp: Do not try to enable extension `all'.Michal Krol2010-02-161-8/+20
|
* nv50: use hw idx buffers where we canBen Skeggs2010-02-162-8/+27
|
* nouveau: fix for latest libdrmBen Skeggs2010-02-161-5/+1
|
* wgl: Be lenient when sharing contexts.José Fonseca2010-02-151-2/+1
| | | | | | | | | | | | | 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.
* glsl/pp: Fix handling of if/elif/else cases.Michal Krol2010-02-152-11/+28
| | | | Once if/elif evalutes to true, all subsequent conditions are always false.
* vbo: fix broken glMultiDrawElements()Brian Paul2010-02-151-4/+5
| | | | | | Seems to be a regression from commit 60b08eb1fdf287d28ec66b9282513ab35a61aee0. (cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633)
* glu/sgi: Add assert to check for null pointer dereference.Vinson Lee2010-02-151-0/+1
|
* mesa: Remove pointless comparison of unsigned integer with a negative constant.Vinson Lee2010-02-151-9/+4
|
* glsl/pp: Add asserts to check for null pointer deferences.Vinson Lee2010-02-152-0/+5
|
* draw: Add assert to check input of memcpy.Vinson Lee2010-02-141-0/+1
|
* glu/sgi: Move initialization of members to top of Curve constructor.Vinson Lee2010-02-141-8/+6
| | | | | | | This is a modification of commit 53d448657bd300ab68b2869b2fba76a627699baf. The members cpts and spts are possibly used as arguments later in the constructor.
* glu/sgi: Initialize members of class Curvelist.Vinson Lee2010-02-141-4/+5
|
* glu/sgi: Initialize members of class Curve.Vinson Lee2010-02-141-0/+8
|
* glu/sgi: Initialize member of class Pool.Vinson Lee2010-02-141-0/+3
|
* glx: Silence uninitialized variable warning.Vinson Lee2010-02-141-0/+1
|
* st/mesa: minor assorted clean-upsBrian Paul2010-02-141-8/+12
|
* st/mesa: change some function return typesBrian Paul2010-02-141-15/+15
|
* st/mesa: move per-fragment shader fields to local varsBrian Paul2010-02-142-20/+19
|
* st/mesa: use _mesa_clone_fragment_program()Brian Paul2010-02-141-1/+1
|
* r600: use new program cloning functionsBrian Paul2010-02-141-1/+1
|
* r300: use new program cloning functionsBrian Paul2010-02-141-1/+1
|
* glsl: use new program cloning functionsBrian Paul2010-02-141-2/+2
|
* mesa: added _mesa_clone_vertex/fragment_program()Brian Paul2010-02-141-0/+16
| | | | To reduce casting elsewhere...
* r600: Silence uninitialized variable warnings.Vinson Lee2010-02-141-0/+4
|
* r300g: fix the size of constant buffersMarek Olšák2010-02-153-2/+34
| | | | 4 more piglit tests pass, sweet.
* python: Reconstruct blend state objects from binary blobs.José Fonseca2010-02-151-0/+17
|
* trace: Dump blend state as a binary blob.José Fonseca2010-02-151-37/+1
| | | | | | | | | | 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.
* trace: Fix constant buffer unwrapping.José Fonseca2010-02-151-9/+4
| | | | | Pointer unwrapping should happen before dump the pointer, so that the real pipe driver pointers are shown, instead of the trace driver's.
* util: Avoid dumping masked state. Other minor improvements.José Fonseca2010-02-142-28/+43
|
* os: A stream for debug logging.José Fonseca2010-02-146-2/+89
| | | | | | | Just a wrapper around os_log_message. Although it would probably make more sense to be the other way around. Also some comment fixes.
* trace: No need to dump reference counts.José Fonseca2010-02-141-13/+0
|
* python: Pretty-printing of blend state.José Fonseca2010-02-142-1/+19
|
* util: Helper functions to dump all state objects.José Fonseca2010-02-144-0/+789
|
* os: Add a growable string stream.José Fonseca2010-02-144-0/+179
|
* os: Complement/improve stream inline helpers.José Fonseca2010-02-141-0/+17
|
* os: Fix bad calloc.José Fonseca2010-02-141-10/+1
|
* trace: Update for os_stream changes.José Fonseca2010-02-141-1/+1
|
* util: Update for os_stream changes.José Fonseca2010-02-141-1/+1
|
* os: Make streams abstract.José Fonseca2010-02-146-264/+160
| | | | | Also replace windows kernel stream with null implementation. It was severely limited and no easy means to test it now.
* glut: Silence uninitialized variable warning.Vinson Lee2010-02-141-1/+4
|
* llvmpipe: Silence unused value warning.Vinson Lee2010-02-141-0/+1
|
* svga: Silence uninitialized variable warning.Vinson Lee2010-02-141-0/+1
|
* r300: add half_float_vertex supportMarek Olšák2010-02-142-0/+11
|
* mesa: Don't pass paramter to __builtin_clz which would hve undefined result.Pauli Nieminen2010-02-141-5/+11
| | | | | | | | | __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.