Note: This precedes another CL that needs this change. DebugAnnotator uses a global variable. The test runner doesn't change state between testing different back-ends. This works-around the problem by setting the global variable when the context is switched. Because the GL back-end doesn't have its own DebugAnnotator sub-class, add a Display* to DisplayImpl::makeCurrent(), so that DisplayGL::makeCurrent() can install the front-end-Display's DebugAnnotator. Note: the Vulkan back-end gets this fix even though the new DebugAnnotatorVk class will be added in a follow-on CL. Bug: b/162068318 Bug: b/169243237 Bug: angleproject:5121 Change-Id: If08626a5310f9b4e3210e1a897a6886248e4d8ac Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2451423Reviewed-by:Ian Elliott <ianelliott@google.com> Commit-Queue: Ian Elliott <ianelliott@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| DisplayGLX.cpp | Loading commit data... | |
| DisplayGLX.h | Loading commit data... | |
| FBConfigCompatibility.md | Loading commit data... | |
| FunctionsGLX.cpp | Loading commit data... | |
| FunctionsGLX.h | Loading commit data... | |
| PbufferSurfaceGLX.cpp | Loading commit data... | |
| PbufferSurfaceGLX.h | Loading commit data... | |
| PixmapSurfaceGLX.cpp | Loading commit data... | |
| PixmapSurfaceGLX.h | Loading commit data... | |
| RendererGLX.cpp | Loading commit data... | |
| RendererGLX.h | Loading commit data... | |
| SurfaceGLX.h | Loading commit data... | |
| WindowSurfaceGLX.cpp | Loading commit data... | |
| WindowSurfaceGLX.h | Loading commit data... | |
| functionsglx_typedefs.h | Loading commit data... | |
| glx_utils.cpp | Loading commit data... | |
| glx_utils.h | Loading commit data... | |
| platform_glx.h | Loading commit data... |