summaryrefslogtreecommitdiff
path: root/src/glx/glxcurrent.c
AgeCommit message (Collapse)Author
2010-09-09glx: Optimize out no-op make current callsKristian Høgsberg
This make a lot more sense now that we might have to recreate the glx drawables for legacy code paths.
2010-09-08glx: Fix use after free problemKristian Høgsberg
2010-09-08glx: Drop broken drawable garbage collectionKristian Høgsberg
Doesn't work for pixmaps, was looking up the GLX XID and was never thread safe. Instead, just destroy the client side structures when the drawable is no long current for a context.
2010-09-07glx: Set an all NULL vtable for dummyContextKristian Høgsberg
This reverts 6a6e6d7b0a84e20f9754af02a575ae34081d310c and initializes dummyContext with an all NULL vtable. The context vtable pointer is supposed to always be non-NULL, but the vtable entries can be NULL.
2010-07-29glx: Compare old ctx against dummyCtx, not NULLKristian Høgsberg
https://bugs.freedesktop.org/show_bug.cgi?id=29302
2010-07-28glx: Split indirect and applegl implementations into different filesKristian Høgsberg
2010-07-28glx: Move bind and unbind to context vtableKristian Høgsberg
2010-07-28glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.Kristian Høgsberg
2010-07-28glx: Rename __GLXscreenConfigs to struct glx_screenKristian Høgsberg
Because double underscores in private type names is painful.
2010-07-28glx: Use _X_EXPORT instead of our own PUBLIC macroKristian Høgsberg
We're an X client library, so we can use Xfuncproto.h.
2010-07-28glx: Rename __GLcontextModes to struct glx_configKristian Høgsberg
With this rename, we use 'config' consitently to refer to GLX configurations instead of the modes/configs/visual mess before.
2010-07-23glx: Move context destroy to context vtableKristian Høgsberg
2010-07-22glx: Allocate the __GLXcontext in the DRI driversKristian Høgsberg
2010-07-19glx: Move drawHash to display privateKristian Høgsberg
The XIDs are display wide so the natural location of the hash is here. This way we don't have to lookup in each of the screen hashes.
2010-07-19glx: Add screen privates for dri drivers and moved some fields thereKristian Høgsberg
GLXscreenConfigs is badly named and a dumping ground for a lot of stuff. This patch creates private screen structs for the dri drivers and moves some of their fields over there.
2010-04-27apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27apple: Initial import of libGL for OSX from AppleSGLX svn repository.Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01Revert accidental commits from the xquartz treeJeremy Huddleston
This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
2010-04-01apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01apple: Initial import of libGL for OSX from AppleSGLX svn repository.Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-02-09Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg