summaryrefslogtreecommitdiff
path: root/src/glx/glxext.c
AgeCommit message (Collapse)Author
2011-03-06glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.Dave Airlie
This realigns the name of the glx bit to align with the core mesa names.
2011-03-06glx: add initial GLX_EXT_framebuffer_sRGB support.Dave Airlie
this doesn't bind to drivers yet, just enough to in theory make indirect work against other servers. I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX protocol?? Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-31glx: Fix leaks in DRI2 screen creation error paths.Henri Verbeet
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-31glx: fix length of GLXGetFBConfigsSGIXJulien Cristau
The extra length is the size of the request *minus* the size of the VendorPrivate header, not the addition. NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-07glx: Use GLX_BufferSwapComplete unconditionally, we require glproto 1.4.11Kristian Høgsberg
2010-09-07glx: Drop unused dri2proto.h includeKristian Høgsberg
2010-09-07Some fixes for GLX_INDIRECT_RENDERING only buildJon TURNEY
This fixes some of the build issues with GLX_INDIRECT_RENDERING but !GLX_DIRECT_RENDERING due to recent changes. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2010-08-02glx: Drop _Xglobal_lock while we create and initialize glx displayKristian Høgsberg
2010-07-29glx: Fix linked list deletion in __glXCloseDisplay()Kristian Høgsberg
I hate single linked lists.
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: Rename glcontextmodes.[ch] to glxconfig.[ch]Kristian Høgsberg
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-28glx: Delete unused glcontextmodes.c functionsKristian Høgsberg
2010-07-26glx: Remove function prototypes no longer necessaryKristian Høgsberg
2010-07-23glx: Fix use after free case when destroying screensKristian Høgsberg
2010-07-23glx: Refactor and simplify context creationKristian Høgsberg
This lets us better separate context creation between the different backends.
2010-07-23glx: Fix indirect screen initializationKristian Høgsberg
https://bugs.freedesktop.org/show_bug.cgi?id=29225
2010-07-23glx: Move context destroy to context vtableKristian Høgsberg
2010-07-22glx: Use _Xglobal_lock for protecting extension display listKristian Høgsberg
Avoids double locking glXLock in the X wire to event handlers.
2010-07-19glx: Move driver_configs to DRI screen privatesKristian 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: Don't use __glXInitialize() when we might be holding __glXLock()Kristian Høgsberg
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-06-02glx: fix indentation and remove extraneous breakBrian Paul
2010-06-02glx: reformat and silence unused expression warningBrian Paul
2010-05-03glx: fix regression with GLX_USE_GLDave Airlie
update for fbconfig_style_tags
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-23Fix __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig ↵Aaron Plattner
tags. __glXInitializeVisualConfigFromTags doesn't skip the payload of unrecognized tags. Instead, it treats the value as if it were the next tag, which can happen if the server's GLX extension is not Mesa's. For example, this falls down when NVIDIA sends a GLX_FLOAT_COMPONENTS_NV = 0 pair, causing __glXInitializeVisualConfigFromTags to bail out early. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-04-04Update to final names from GLX_INTEL_swap_event specIan Romanick
Fixes bug #27454.
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-03-05glx: Move initialization of ext_list_first_time to where it's storage is ↵Brian Paul
allocated Move the initialization of ext_list_first_time from all of the DRI loader's CreateScreen routines, to where the storage for the screen config is allocated. It needs to get set in the screen-config even if DRI is forced off using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE Specifically, this causes a problem with an X server which advertises GLX<=1.2, and the GLX_SGIX_fbconfig extension. glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function won't return correct information because that data has never been initialized, because ext_list_first_time was never set... Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183)
2010-02-09Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg