summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-02-17 19:52:29 +0800
committerChia-I Wu <olv@lunarg.com>2010-02-17 20:00:12 +0800
commite16f577142ff041f058abf80712df23c6837f6cf (patch)
tree4040bc7c126ef29e630f2aada86a65fe9cdb767e /docs
parent4afe24808ee253c44c65b855f65bd0749c1e1524 (diff)
docs: Update TODOs of egl.html.
Thread-safety is no longer a TODO item. There are surely bugs to be fixed though.
Diffstat (limited to 'docs')
-rw-r--r--docs/egl.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/egl.html b/docs/egl.html
index 844cc32079..82cc06600b 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.</p>
+<h3><code>EGLDisplay</code> Mutex</h3>
+
+The <code>EGLDisplay</code> will be locked before calling any of the dispatch
+functions (well, except for GetProcAddress which does not take an
+<code>EGLDisplay</code>). 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 <code>EGLDisplay</code> without going through the EGL APIs, the driver
+should as well lock the display before using it.
+
<h3>TODOs</h3>
<ul>
-<li>Thread safety</li>
<li>Pass the conformance tests</li>
<li>Better automatic driver selection: <code>EGL_DISPLAY</code> loads all
drivers and might eat too much memory.</li>