Descriptiongl: Move platform-specific EGL code into separate files
This splits ozone & android GLSurface creation into their own files,
matching all of the other platforms.
Also, all platforms that support EGL now implement
GetPlatformDefaultEGLNativeDisplay() to determine the EGL display to
use, eliminating an ifdef.
This is cleaning things up in preparation for introducing a new
ozone-specific GLSurfaceEGL subclass without adding more ifdefs.
TEST=ui_unittests, content_shell --ozone-platform={file,dri}
BUG=353788
R=piman@chromium.org, rjkroege@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259923
Patch Set 1 #
Total comments: 6
Patch Set 2 : introduce GetPlatformDefaultEGLNativeDisplay #Patch Set 3 : rebase #Patch Set 4 : fix windows build #Patch Set 5 : rebase #Patch Set 6 : rebase again, ARGH #
Messages
Total messages: 31 (0 generated)
|