It was possible for ANGLE to call eglMakeCurrent with EGL_NO_SURFACE and a valid context when the client called eglMakeCurrent with EGL_NO_SURFACE and EGL_NO_CONTEXT. Fix this by always binding a surface when the driver has no native surfaceless support. Don't expose the surfaceless extension when it's not possible to support it (unvirtualized contexts and no native surfaceless support). BUG=860800 BUG=angleproject:2464 Change-Id: Id8af9638d4356dbd710c453c9f196b9f25a2bbf9 Reviewed-on: https://chromium-review.googlesource.com/1131555Reviewed-by:Jamie Madill <jmadill@chromium.org> Reviewed-by:
Geoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| android | Loading commit data... | |
| ozone | Loading commit data... | |
| ContextEGL.cpp | Loading commit data... | |
| ContextEGL.h | Loading commit data... | |
| DisplayEGL.cpp | Loading commit data... | |
| DisplayEGL.h | Loading commit data... | |
| FunctionsEGL.cpp | Loading commit data... | |
| FunctionsEGL.h | Loading commit data... | |
| FunctionsEGLDL.cpp | Loading commit data... | |
| FunctionsEGLDL.h | Loading commit data... | |
| PbufferSurfaceEGL.cpp | Loading commit data... | |
| PbufferSurfaceEGL.h | Loading commit data... | |
| RendererEGL.cpp | Loading commit data... | |
| RendererEGL.h | Loading commit data... | |
| SurfaceEGL.cpp | Loading commit data... | |
| SurfaceEGL.h | Loading commit data... | |
| WindowSurfaceEGL.cpp | Loading commit data... | |
| WindowSurfaceEGL.h | Loading commit data... | |
| egl_utils.cpp | Loading commit data... | |
| egl_utils.h | Loading commit data... | |
| functionsegl_typedefs.h | Loading commit data... |