[ozone/x11] Extracted the GPU data manager visual proxy.
This is [1] replicated over the fresh ToT. There is a proxy class that ensures that GPU sends back correct visuals on X11. The class was declared in the anonymous namespace in the content/browser/browser_main_loop.cc, which made it impossible to use on Ozone. This CL extracts the proxy and makes it available to use through the PlatformGLEGLUtility interface. In addition, the obsolete VisualID type used in gfx::GpuExtraInfo is replaced with the x11::VisualId. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2252102 Bug: 789065 Change-Id: I6390ef8bc89cf118944be42fde78fd64a6c3d36d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2562182Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Robert Kroeger <rjkroege@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Cr-Commit-Position: refs/heads/master@{#837069}
Showing
Please register or sign in to comment