summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorPlamena Manolova <plamena.manolova@intel.com>2016-05-31 17:32:38 +0100
committerBen Widawsky <ben@bwidawsk.net>2016-06-02 07:45:19 -0700
commite8b38ca202fbe8c281aeb81a4b64256983f185e0 (patch)
treeeed7a8c2ea5648885e73aa0aed70b92d9c2a4e69 /src/egl/main/egldisplay.h
parent17f4c723eb5a503d747d643936e4fd689a5f4946 (diff)
downloadexternal_mesa3d-e8b38ca202fbe8c281aeb81a4b64256983f185e0.zip
external_mesa3d-e8b38ca202fbe8c281aeb81a4b64256983f185e0.tar.gz
external_mesa3d-e8b38ca202fbe8c281aeb81a4b64256983f185e0.tar.bz2
egl: Check if API is supported when using eglBindAPI.
According to the EGL specifications before binding an API we must check whether it's supported first. If not eglBindAPI should return EGL_FALSE and generate a EGL_BAD_PARAMETER error. Signed-off-by: Plamena Manolova <plamena.manolova@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r--src/egl/main/egldisplay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index 6bfc858..8a730ed 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -140,6 +140,7 @@ struct _egl_display
_EGLPlatformType Platform; /**< The type of the platform display */
void *PlatformDisplay; /**< A pointer to the platform display */
+ _EGLThreadInfo *ThreadList;/**< A pointer to the thread the display was created form */
_EGLDriver *Driver; /**< Matched driver of the display */
EGLBoolean Initialized; /**< True if the display is initialized */