Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: eglGetError should return the status of the last call. | Chia-I Wu | 2010-02-17 | 1 | -123/+226 |
| | | | | | | Use macros to record the status of the function call before returning. This is the only way that eglGetError can return the status of the most recent function call. | ||||
* | egl: Always record error code. | Chia-I Wu | 2010-02-17 | 1 | -4/+5 |
| | | | | | The error code denotes the success or failure of the most recent function call. A call to _eglError should always update the error code. | ||||
* | egl: Use new error checking macros. | Chia-I Wu | 2010-02-17 | 1 | -115/+110 |
| | | | | Replace all uses of _EGL_DECLARE_* and _eglCheck* by _EGL_CHECK_*. | ||||
* | egl: Add new error checking macros. | Chia-I Wu | 2010-02-17 | 1 | -94/+134 |
| | | | | | | Add _EGL_CHECK_* which will replace _EGL_DECLARE_* for error checking. Move _eglCheck* earlier in the file so that the macros and the functions are grouped together. | ||||
* | llvmpipe: rework do_block_16 to use bitmasks and ffs | Keith Whitwell | 2010-02-17 | 1 | -27/+41 |
| | | | | | | | | Some nice speedups: gears: 547 -> 597 isosurf: 83 -> 98 Others like gloss unchanged. Could do further work in this direction. | ||||
* | glsl/pp: Remove sl_pp_get_extension_state(). | Michal Krol | 2010-02-17 | 3 | -53/+0 |
| | | | | Parse extension tokens to track current state of extension enables. | ||||
* | glsl/cl: Parse layout qualifiers only when an appropriate extension enabled. | Michal Krol | 2010-02-17 | 1 | -2/+75 |
| | |||||
* | glsl/cl: Properly emit layout qualifier list. | Michal Krol | 2010-02-17 | 1 | -3/+3 |
| | |||||
* | glsl: Silence unused value warning. | Vinson Lee | 2010-02-17 | 1 | -0/+2 |
| | |||||
* | nouveau: fix legacy dri driver build | Johannes Obermayr | 2010-02-17 | 3 | -8/+6 |
| | |||||
* | sl/pp: re-do extension testing code | Brian Paul | 2010-02-16 | 4 | -7/+36 |
| | | | | | | The #extension directive should not effect which extension preprocessor symbols are defined/undefined; only whether/how the compiler accepts language features defined by the extension. | ||||
* | nv40: Fix incorrect so_new() numbering. | Francisco Jerez | 2010-02-16 | 1 | -1/+1 |
| | |||||
* | nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS. | Francisco Jerez | 2010-02-16 | 1 | -0/+2 |
| | |||||
* | glx: Fix a couple of warnings | Kristian Høgsberg | 2010-02-16 | 1 | -2/+0 |
| | |||||
* | glx: Only register wire handlers for the events the server supports | Kristian Høgsberg | 2010-02-16 | 1 | -1/+20 |
| | |||||
* | st/dri2: Use event-driven buffer validation. | Francisco Jerez | 2010-02-16 | 9 | -88/+33 |
| | |||||
* | 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. |