mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
docs: Update TODOs of egl.html.
Thread-safety is no longer a TODO item. There are surely bugs to be fixed though.
This commit is contained in:
parent
4afe24808e
commit
e16f577142
1 changed files with 9 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue