Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-17 | egl: Always lock a display before using it. | Chia-I Wu | |
This gives a simple access control to the display. It is potentially slow, but a finer grained mutex can always be used in the future. The benefit of this simple approach is that drivers need not to worry about thread-safety. | |||
2010-02-17 | egl: Make eglGetDisplay atomic. | Chia-I Wu | |
Merge _eglNewDisplay and _eglLinkDisplay into _eglFindDisplay. Remove unused _eglUnlinkDisplay. | |||
2010-02-17 | egl: Add a mutex to _EGLDisplay. | Chia-I Wu | |
A display may be shared by multiple threads. Add a mutex for access control. | |||
2010-02-17 | egl: eglGetError should return the status of the last call. | Chia-I Wu | |
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. | |||
2010-02-17 | egl: Always record error code. | Chia-I Wu | |
The error code denotes the success or failure of the most recent function call. A call to _eglError should always update the error code. | |||
2010-02-17 | egl: Use new error checking macros. | Chia-I Wu | |
Replace all uses of _EGL_DECLARE_* and _eglCheck* by _EGL_CHECK_*. | |||
2010-02-17 | egl: Add new error checking macros. | Chia-I Wu | |
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. | |||
2010-02-17 | llvmpipe: rework do_block_16 to use bitmasks and ffs | Keith Whitwell | |
Some nice speedups: gears: 547 -> 597 isosurf: 83 -> 98 Others like gloss unchanged. Could do further work in this direction. | |||
2010-02-17 | glsl/pp: Remove sl_pp_get_extension_state(). | Michal Krol | |
Parse extension tokens to track current state of extension enables. | |||
2010-02-17 | glsl/cl: Parse layout qualifiers only when an appropriate extension enabled. | Michal Krol | |
2010-02-17 | glsl/cl: Properly emit layout qualifier list. | Michal Krol | |
2010-02-17 | glsl: Silence unused value warning. | Vinson Lee | |
2010-02-17 | progs/redbook: Fix memory leaks on error paths. | Vinson Lee | |
2010-02-17 | nouveau: fix legacy dri driver build | Johannes Obermayr | |
2010-02-16 | sl/pp: re-do extension testing code | Brian Paul | |
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. | |||
2010-02-16 | nv40: Fix incorrect so_new() numbering. | Francisco Jerez | |
2010-02-16 | nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS. | Francisco Jerez | |
2010-02-16 | glx: Fix a couple of warnings | Kristian Høgsberg | |
2010-02-16 | glx: Only register wire handlers for the events the server supports | Kristian Høgsberg | |
2010-02-16 | st/dri2: Use event-driven buffer validation. | Francisco Jerez | |
2010-02-16 | dri/nouveau: Use event driven buffer validation. | Francisco Jerez | |
2010-02-16 | dri2: 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-16 | dri2: Allocate cliprect as part of the __DRIdrawableRec | Kristian Høgsberg | |
2010-02-16 | glx: Move GetGLXDRIDrawable() prototype to glxclient.h | Kristian Høgsberg | |
2010-02-16 | configure.ac: Lower require dri2proto version to 2.1 | Kristian Høgsberg | |
Additions after 2.1 are implemented in a conditional way and will be supported if available. | |||
2010-02-16 | mesa: 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-16 | mesa: Test for failed malloc in _mesa_HashInsert. | Brian Paul | |
Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215) | |||
2010-02-16 | Revert "progs/redbook: Temporarily disable the demos that extensions not ↵ | José Fonseca | |
part of windows to fix build." This reverts commit 1587eff1b6d6ab74c302ca2ccb767d917ce3b1dd. | |||
2010-02-16 | glsl/pp: Do not try to enable extension `all'. | Michal Krol | |
2010-02-16 | nv50: use hw idx buffers where we can | Ben Skeggs | |
2010-02-15 | progs/redbook: use glew | Brian Paul | |
2010-02-16 | nouveau: fix for latest libdrm | Ben Skeggs | |
2010-02-15 | wgl: 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-15 | progs/redbook: Temporarily disable the demos that extensions not part of ↵ | José Fonseca | |
windows to fix build. | |||
2010-02-15 | scons: A less magic way of not building progs by default. | José Fonseca | |
The problem with the old way is that passing 'progs/subdir' as argument would fail. | |||
2010-02-15 | glsl/pp: Fix handling of if/elif/else cases. | Michal Krol | |
Once if/elif evalutes to true, all subsequent conditions are always false. | |||
2010-02-15 | progs/redbook: test image for new redbook tests | Brian Paul | |
2010-02-15 | progs/redbook: add additional tests for GL 1.4 | Brian Paul | |
2010-02-15 | docs: document glMultiDrawElements() fix | Brian Paul | |
(cherry picked from commit ab6bcef99a53217db752659ace105ddfd9b25ebb) | |||
2010-02-15 | vbo: fix broken glMultiDrawElements() | Brian Paul | |
Seems to be a regression from commit 60b08eb1fdf287d28ec66b9282513ab35a61aee0. (cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633) | |||
2010-02-15 | glu/sgi: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-15 | mesa: Remove pointless comparison of unsigned integer with a negative constant. | Vinson Lee | |
2010-02-15 | glsl/pp: Add asserts to check for null pointer deferences. | Vinson Lee | |
2010-02-14 | draw: Add assert to check input of memcpy. | Vinson Lee | |
2010-02-14 | glu/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-14 | glu/sgi: Initialize members of class Curvelist. | Vinson Lee | |
2010-02-14 | glu/sgi: Initialize members of class Curve. | Vinson Lee | |
2010-02-14 | glu/sgi: Initialize member of class Pool. | Vinson Lee | |
2010-02-14 | glx: Silence uninitialized variable warning. | Vinson Lee | |
2010-02-14 | st/mesa: minor assorted clean-ups | Brian Paul | |