glx/dri: Add utility function dri2_convert_glx_attribs
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Dec 2011 21:52:53 +0000 (13:52 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 2 Jan 2012 20:41:45 +0000 (12:41 -0800)
commitb45f77dc4c9662a774c19db764bb8f95c4f61073
treeb9739261379d37f9d274b3de8429bb5be58ea8d7
parent4c7898cb13528ede00c7524849de4aeac81a6ac3
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>
src/glx/dri_common.c
src/glx/dri_common.h