summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* egl: eglGetError should return the status of the last call.Chia-I Wu2010-02-171-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 Wu2010-02-171-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 Wu2010-02-171-115/+110
| | | | Replace all uses of _EGL_DECLARE_* and _eglCheck* by _EGL_CHECK_*.
* egl: Add new error checking macros.Chia-I Wu2010-02-171-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 ffsKeith Whitwell2010-02-171-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 Krol2010-02-173-53/+0
| | | | Parse extension tokens to track current state of extension enables.
* glsl/cl: Parse layout qualifiers only when an appropriate extension enabled.Michal Krol2010-02-171-2/+75
|
* glsl/cl: Properly emit layout qualifier list.Michal Krol2010-02-171-3/+3
|
* glsl: Silence unused value warning.Vinson Lee2010-02-171-0/+2
|
* nouveau: fix legacy dri driver buildJohannes Obermayr2010-02-173-8/+6
|
* sl/pp: re-do extension testing codeBrian Paul2010-02-164-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 Jerez2010-02-161-1/+1
|
* nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.Francisco Jerez2010-02-161-0/+2
|
* glx: Fix a couple of warningsKristian Høgsberg2010-02-161-2/+0
|
* glx: Only register wire handlers for the events the server supportsKristian Høgsberg2010-02-161-1/+20
|
* st/dri2: Use event-driven buffer validation.Francisco Jerez2010-02-169-88/+33
|
* 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.