History log of /external/mesa3d/src/glx/dri_common.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8724d85f8cb2f0fb73b9c6c1f268f9084c6d473 03-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> glx/dri2: Add support for GLX_ARB_create_context_robustness

Add the infrastructure required for this extension. There is no
xserver support and no driver support yet. Drivers can enable this be
advertising DRI2 version 4 and accepting the
__DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS flag and the
__DRI_CTX_ATTRIB_RESET_STRATEGY attribute in create context.

Some additional Mesa infrastructure is needed before drivers can do
this. The GL_ARB_robustness spec, which all Mesa drivers already
advertise, requires:

"If the behavior is LOSE_CONTEXT_ON_RESET_ARB, a graphics reset
will result in the loss of all context state, requiring the
recreation of all associated objects."

It is necessary to land this infrastructure now so that the related
infrastructure can land in the xserver. The xserver has very long
release schedules, and the remaining Mesa parts should land long, long
before the next xserver merge window opens.

v2: Expose robustness as a DRI2 extension rather than bumping
__DRI_DRI2_VERSION.

v3: Add a comment explaining why dri2->base.version >= 3 is also
required for GLX_ARB_create_context_robustness.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/glx/dri_common.h
92bef0bfa121e0e58112ffae352c8ad9e5da6307 04-Feb-2012 Carl Worth <cworth@cworth.org> dri: Add a CriticalErrorMessageF macro.

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 <eugeni.dodonov@intel.com>
/external/mesa3d/src/glx/dri_common.h
b45f77dc4c9662a774c19db764bb8f95c4f61073 01-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> glx/dri: Add utility function dri2_convert_glx_attribs

This converts all of the GLX data from glXCreateContextAttribsARB to
the values expected by the DRI driver interfaces.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/dri_common.h
16887d042a917fa4773e4d853f50051b54e9948c 27-Aug-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Drop broken drawable garbage collection

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.
/external/mesa3d/src/glx/dri_common.h
c491e585e43d48a2aeec96ccc4008da6c443fb42 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move bind and unbind to context vtable
/external/mesa3d/src/glx/dri_common.h
6ddf66e9230ee862ac341c4767cf6b3b2dd2552b 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename __GLcontextModes to struct glx_config

With this rename, we use 'config' consitently to refer to GLX configurations
instead of the modes/configs/visual mess before.
/external/mesa3d/src/glx/dri_common.h
7a66e549583a3168f05acc7df1e872d218fd670d 21-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move last few dri_interface.h types out of glxclient.h and drop include
/external/mesa3d/src/glx/dri_common.h
a7292f2920a28a190ca39ce530454a852ec36d59 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move DRI CopySubBuffer extension to DRI1 code

We do this in the X server for DRI2.
/external/mesa3d/src/glx/dri_common.h
bab13969d8bf3ff9259524c3f4ab96d81485ccef 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move driver_configs to DRI screen privates
/external/mesa3d/src/glx/dri_common.h
089fc37c6fa158824279e08e3b378ced94d6f803 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move DRI1 specific extensions and code to DRI1 screen private
/external/mesa3d/src/glx/dri_common.h
9e546ecfd446abf1236cdb0b9469157de5d084ce 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move DRI2 extensions to DRI2 screen private
/external/mesa3d/src/glx/dri_common.h
f972115d33e391499e049b83a1559959f2ca9f72 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Add screen privates for dri drivers and moved some fields there

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.
/external/mesa3d/src/glx/dri_common.h
6e8897ff9f90601ebf6eed500ad942c11b54d1f7 09-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Retire miniglx and move the actual glx code up to src/glx
/external/mesa3d/src/glx/dri_common.h