diff options
author | Adam Jackson <[email protected]> | 2017-08-28 11:23:58 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2017-10-05 13:43:34 -0400 |
commit | b174a1ae720cb404738cd57c431f5769d677957d (patch) | |
tree | a8dc8f91976382a93d387cc1d8247cdbf0a1b9c5 /docs/egl.html | |
parent | 15e208c4ccdd94582a459d0066b587f91caf270c (diff) |
egl: Simplify the "driver" interface
"Driver" isn't a great word for what this layer is, it's effectively a
build-time choice about what OS you're targeting. Despite that both of
the extant backends totally ignore the display argument, the old code
would only set up the backend relative to a display.
That causes problems! One problem is it means eglGetProcAddress can
generate X or Wayland protocol when it tries to connect to a default
display so it can call into the backend, which is, you know, completely
bonkers. Any other EGL API that doesn't reference a display, like
EGL_EXT_device_query, would have the same issue.
Fortunately this is a problem that can be solved with the delete key.
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'docs/egl.html')
-rw-r--r-- | docs/egl.html | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/egl.html b/docs/egl.html index e752a707a3b..3d8a85b4e7e 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -130,16 +130,6 @@ mesa/demos repository.</p> runtime</p> <dl> -<dt><code>EGL_DRIVER</code></dt> -<dd> - -<p>This variable specifies a full path to or the name of an EGL driver. It -forces the specified EGL driver to be loaded. It comes in handy when one wants -to test a specific driver. This variable is ignored for setuid/setgid -binaries.</p> - -</dd> - <dt><code>EGL_PLATFORM</code></dt> <dd> |