From e16f577142ff041f058abf80712df23c6837f6cf Mon Sep 17 00:00:00 2001
From: Chia-I Wu
Date: Wed, 17 Feb 2010 19:52:29 +0800
Subject: docs: Update TODOs of egl.html.
Thread-safety is no longer a TODO item. There are surely bugs to be
fixed though.
---
docs/egl.html | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
(limited to 'docs/egl.html')
diff --git a/docs/egl.html b/docs/egl.html
index 844cc32..82cc066 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.
--
cgit v1.1