summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.h
Commit message (Collapse)AuthorAgeFilesLines
* dri: Add a CriticalErrorMessageF macro.Carl Worth2012-02-081-0/+2
| | | | | | | | | | | | | Sometimes an error is so sever that we want to print it even when the user hasn't specifically requested debugging by setting LIBGL_DEBUG. Add a CriticalErrorMessageF macro to be used for this case. (The error message can still be slienced with the existing LIBGL_DEBUG=quiet). For critical error messages we also direct the user to set the LIBGL_DEBUG environment variable for more details. Reviewed-by: Eugeni Dodonov <[email protected]>
* glx/dri: Add utility function dri2_convert_glx_attribsIan Romanick2012-01-021-0/+6
| | | | | | | This converts all of the GLX data from glXCreateContextAttribsARB to the values expected by the DRI driver interfaces. Signed-off-by: Ian Romanick <[email protected]>
* glx: Drop broken drawable garbage collectionKristian Høgsberg2010-09-081-0/+3
| | | | | | 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.
* glx: Move bind and unbind to context vtableKristian Høgsberg2010-07-281-0/+3
|
* glx: Rename __GLcontextModes to struct glx_configKristian Høgsberg2010-07-281-3/+3
| | | | | With this rename, we use 'config' consitently to refer to GLX configurations instead of the modes/configs/visual mess before.
* glx: Move last few dri_interface.h types out of glxclient.h and drop includeKristian Høgsberg2010-07-211-0/+2
|
* glx: Move DRI CopySubBuffer extension to DRI1 codeKristian Høgsberg2010-07-191-3/+0
| | | | We do this in the X server for DRI2.
* glx: Move driver_configs to DRI screen privatesKristian Høgsberg2010-07-191-0/+2
|
* glx: Move DRI1 specific extensions and code to DRI1 screen privateKristian Høgsberg2010-07-191-2/+0
|
* glx: Move DRI2 extensions to DRI2 screen privateKristian Høgsberg2010-07-191-2/+0
|
* glx: Add screen privates for dri drivers and moved some fields thereKristian Høgsberg2010-07-191-3/+6
| | | | | | 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.
* Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg2010-02-091-0/+63