st-api: Have context_create explain why creation failed
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 13 Dec 2011 23:46:20 +0000 (15:46 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 23 Dec 2011 16:49:50 +0000 (08:49 -0800)
commitd18152028e1825c05c7de33acacee3336350a096
treecbfe88a4d0c18ff5e1c2d5ec4a4cf9eaf74875f2
parent358ecff1ea0fa8432fd46bd3deeb8d2d694b5550
st-api: Have context_create explain why creation failed

This won't be used in the client-side libGL, but the xserver has to
generate a different protocol error depending on the reason context
creation failed.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Chia-I Wu <olv@lunarg.com>
src/gallium/include/state_tracker/st_api.h
src/gallium/state_trackers/dri/common/dri_context.c
src/gallium/state_trackers/vega/vg_manager.c
src/mesa/state_tracker/st_manager.c