DescriptionAdd GLOzone interface.
Move the Ozone platform GL implementation code into a single interface.
Right now the code to implement EGL for an Ozone platform is located
part in //ui/gl/init and part in SurfaceFactoryOzone implementation.
The current approach exposes EGL specific concepts in the shared Ozone
code. This works fine currently because EGL is relatively platform
agnostic. This gets much messier for GLX because it is not platform
agnostic.
Move the existing shared EGL code into an abstract class GLOzoneGL that
implements GLOzone. Each Ozone platform can then finish the
implementation. This has a nice side effect that SurfaceFactoryOzone no
longer has to expose EGL concepts.
Only the Ozone X11 platform is updated initially. The GBM, cast and
wayland Ozone platforms will need to be updated to use the new interface
in a subsequent CL.
BUG=640613
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/036945276e54bd6d98d3e51ccfec21c56dc80b61
Cr-Commit-Position: refs/heads/master@{#416045}
Patch Set 1 #Patch Set 2 : Naming/documentation. #Patch Set 3 : Fix tests. #Patch Set 4 : Actually fix test. #Patch Set 5 : Fix GN check. #Patch Set 6 : Rename. #
Total comments: 13
Patch Set 7 : Fix for comments. #Patch Set 8 : Change initialization. #Patch Set 9 : Undo initialization changes. #
Total comments: 8
Patch Set 10 : Address comments. #
Messages
Total messages: 25 (13 generated)
|