From: Chia-I Wu
Date: Wed, 17 Feb 2010 11:52:29 +0000 (+0800)
Subject: docs: Update TODOs of egl.html.
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e16f577142ff041f058abf80712df23c6837f6cf;p=mesa.git
docs: Update TODOs of egl.html.
Thread-safety is no longer a TODO item. There are surely bugs to be
fixed though.
---
diff --git a/docs/egl.html b/docs/egl.html
index 844cc32079e..82cc06600bd 100644
--- a/docs/egl.html
+++ b/docs/egl.html
@@ -302,10 +302,18 @@ pbuffer surfaces. Therefore, the driver is responsible to guarantee that the
client API renders to the specified render buffer for pixmap and pbuffer
surfaces.
+EGLDisplay
Mutex
+
+The EGLDisplay
will be locked before calling any of the dispatch
+functions (well, except for GetProcAddress which does not take an
+EGLDisplay
). This guarantees that the same dispatch function will
+not be called with the sample display at the same time. If a driver has access
+to an EGLDisplay
without going through the EGL APIs, the driver
+should as well lock the display before using it.
+
TODOs
-- Thread safety
- Pass the conformance tests
- Better automatic driver selection:
EGL_DISPLAY
loads all
drivers and might eat too much memory.