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 |
|---|---|---|
| .. | ||
| BUILD.gn | Loading commit data... | |
| BufferNULL.cpp | Loading commit data... | |
| BufferNULL.h | Loading commit data... | |
| CompilerNULL.cpp | Loading commit data... | |
| CompilerNULL.h | Loading commit data... | |
| ContextNULL.cpp | Loading commit data... | |
| ContextNULL.h | Loading commit data... | |
| DeviceNULL.cpp | Loading commit data... | |
| DeviceNULL.h | Loading commit data... | |
| DisplayNULL.cpp | Loading commit data... | |
| DisplayNULL.h | Loading commit data... | |
| FenceNVNULL.cpp | Loading commit data... | |
| FenceNVNULL.h | Loading commit data... | |
| FramebufferNULL.cpp | Loading commit data... | |
| FramebufferNULL.h | Loading commit data... | |
| ImageNULL.cpp | Loading commit data... | |
| ImageNULL.h | Loading commit data... | |
| ProgramNULL.cpp | Loading commit data... | |
| ProgramNULL.h | Loading commit data... | |
| ProgramPipelineNULL.cpp | Loading commit data... | |
| ProgramPipelineNULL.h | Loading commit data... | |
| QueryNULL.cpp | Loading commit data... | |
| QueryNULL.h | Loading commit data... | |
| RenderbufferNULL.cpp | Loading commit data... | |
| RenderbufferNULL.h | Loading commit data... | |
| SamplerNULL.cpp | Loading commit data... | |
| SamplerNULL.h | Loading commit data... | |
| ShaderNULL.cpp | Loading commit data... | |
| ShaderNULL.h | Loading commit data... | |
| SurfaceNULL.cpp | Loading commit data... | |
| SurfaceNULL.h | Loading commit data... | |
| SyncNULL.cpp | Loading commit data... | |
| SyncNULL.h | Loading commit data... | |
| TextureNULL.cpp | Loading commit data... | |
| TextureNULL.h | Loading commit data... | |
| TransformFeedbackNULL.cpp | Loading commit data... | |
| TransformFeedbackNULL.h | Loading commit data... | |
| VertexArrayNULL.cpp | Loading commit data... | |
| VertexArrayNULL.h | Loading commit data... |