Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dri/nouveau: Use event driven buffer validation. | Francisco Jerez | 2010-02-16 | 2 | -4/+41 |
| | |||||
* | dri2: Event driven buffer validation. | Francisco Jerez | 2010-02-16 | 8 | -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 __DRIdrawableRec | Kristian Høgsberg | 2010-02-16 | 2 | -4/+8 |
| | |||||
* | glx: Move GetGLXDRIDrawable() prototype to glxclient.h | Kristian Høgsberg | 2010-02-16 | 3 | -8/+4 |
| | |||||
* | mesa: Lock mutex around _mesa_HashLookup linked list chase. | Brian Paul | 2010-02-16 | 2 | -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 Paul | 2010-02-16 | 1 | -4/+6 |
| | | | | | | Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215) | ||||
* | glsl/pp: Do not try to enable extension `all'. | Michal Krol | 2010-02-16 | 1 | -8/+20 |
| | |||||
* | nv50: use hw idx buffers where we can | Ben Skeggs | 2010-02-16 | 2 | -8/+27 |
| | |||||
* | nouveau: fix for latest libdrm | Ben Skeggs | 2010-02-16 | 1 | -5/+1 |
| | |||||
* | wgl: Be lenient when sharing contexts. | José Fonseca | 2010-02-15 | 1 | -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 Krol | 2010-02-15 | 2 | -11/+28 |
| | | | | Once if/elif evalutes to true, all subsequent conditions are always false. | ||||
* | vbo: fix broken glMultiDrawElements() | Brian Paul | 2010-02-15 | 1 | -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 Lee | 2010-02-15 | 1 | -0/+1 |
| | |||||
* | mesa: Remove pointless comparison of unsigned integer with a negative constant. | Vinson Lee | 2010-02-15 | 1 | -9/+4 |
| | |||||
* | glsl/pp: Add asserts to check for null pointer deferences. | Vinson Lee | 2010-02-15 | 2 | -0/+5 |
| | |||||
* | draw: Add assert to check input of memcpy. | Vinson Lee | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Move initialization of members to top of Curve constructor. | Vinson Lee | 2010-02-14 | 1 | -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 Lee | 2010-02-14 | 1 | -4/+5 |
| | |||||
* | glu/sgi: Initialize members of class Curve. | Vinson Lee | 2010-02-14 | 1 | -0/+8 |
| | |||||
* | glu/sgi: Initialize member of class Pool. | Vinson Lee | 2010-02-14 | 1 | -0/+3 |
| | |||||
* | glx: Silence uninitialized variable warning. | Vinson Lee | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | st/mesa: minor assorted clean-ups | Brian Paul | 2010-02-14 | 1 | -8/+12 |
| | |||||
* | st/mesa: change some function return types | Brian Paul | 2010-02-14 | 1 | -15/+15 |
| | |||||
* | st/mesa: move per-fragment shader fields to local vars | Brian Paul | 2010-02-14 | 2 | -20/+19 |
| | |||||
* | st/mesa: use _mesa_clone_fragment_program() | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r600: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r300: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | glsl: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -2/+2 |
| | |||||
* | mesa: added _mesa_clone_vertex/fragment_program() | Brian Paul | 2010-02-14 | 1 | -0/+16 |
| | | | | To reduce casting elsewhere... | ||||
* | r600: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-14 | 1 | -0/+4 |
| | |||||
* | r300g: fix the size of constant buffers | Marek Olšák | 2010-02-15 | 3 | -2/+34 |
| | | | | 4 more piglit tests pass, sweet. | ||||
* | python: Reconstruct blend state objects from binary blobs. | José Fonseca | 2010-02-15 | 1 | -0/+17 |
| | |||||
* | trace: Dump blend state as a binary blob. | José Fonseca | 2010-02-15 | 1 | -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é Fonseca | 2010-02-15 | 1 | -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é Fonseca | 2010-02-14 | 2 | -28/+43 |
| | |||||
* | os: A stream for debug logging. | José Fonseca | 2010-02-14 | 6 | -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é Fonseca | 2010-02-14 | 1 | -13/+0 |
| | |||||
* | python: Pretty-printing of blend state. | José Fonseca | 2010-02-14 | 2 | -1/+19 |
| | |||||
* | util: Helper functions to dump all state objects. | José Fonseca | 2010-02-14 | 4 | -0/+789 |
| | |||||
* | os: Add a growable string stream. | José Fonseca | 2010-02-14 | 4 | -0/+179 |
| | |||||
* | os: Complement/improve stream inline helpers. | José Fonseca | 2010-02-14 | 1 | -0/+17 |
| | |||||
* | os: Fix bad calloc. | José Fonseca | 2010-02-14 | 1 | -10/+1 |
| | |||||
* | trace: Update for os_stream changes. | José Fonseca | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | util: Update for os_stream changes. | José Fonseca | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | os: Make streams abstract. | José Fonseca | 2010-02-14 | 6 | -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 Lee | 2010-02-14 | 1 | -1/+4 |
| | |||||
* | llvmpipe: Silence unused value warning. | Vinson Lee | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | svga: Silence uninitialized variable warning. | Vinson Lee | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | r300: add half_float_vertex support | Marek Olšák | 2010-02-14 | 2 | -0/+11 |
| | |||||
* | mesa: Don't pass paramter to __builtin_clz which would hve undefined result. | Pauli Nieminen | 2010-02-14 | 1 | -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. |