egl_dri2: Add support for EGL_KHR_create_contest when using swrast
authorBoyan Ding <boyan.j.ding@gmail.com>
Tue, 21 Jul 2015 15:43:58 +0000 (23:43 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Sep 2015 10:26:48 +0000 (11:26 +0100)
commit63c4b7ee1e76efece745fc581ac4990d197824cc
tree2e998183985f3a8b68f44210507c9dc815eb9fca
parent6345d2da60eb6eace23bc9b5a6e606726c3caea2
egl_dri2: Add support for EGL_KHR_create_contest when using swrast

This requires swrast version >= 3. Also EGL_EXT_create_context_robostness
is supported if __DRI2_ROBUSTNESS extension is found.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=80821
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
src/egl/drivers/dri2/egl_dri2.c