DescriptionImplement OzonePlatform
This provides a way to select an ozone implementation to use at build time.
It replaces the previous ad-hoc requirement to inject implementations of
ozone interfaces somewhere during initialization, such as by overriding
ContentMainDelegate::PreSandboxStartup(). That requirement made it
difficult for external ozone implementations to build internal targets such
as content_shell because those targets do not initialize the external ozone
implementation without additional patching. Enabling external ports of
chromium is one of the main goals of ozone.
The OzonePlatform code is located at ui/ozone and depends on code in
ui/gfx and ui/events because it must inject implementations into
those components. The ozone platform is initialized from
ui/aura or ui/gl, as those components need the interfaces provided by ozone
in order to function.
There are two in-tree platforms currently: test (image dump) and dri
(libdrm-based direct rendering). The platform is selected by the setting
ozone_platform gyp variable and defaults to "test".
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232170
Patch Set 1 #
Total comments: 6
Patch Set 2 : move to ui/base/ozone, add comments to OzonePlatform #Patch Set 3 : add external_ozone_platform_files, external_ozone_platform_deps #
Total comments: 7
Patch Set 4 : document OzonePlatformDri & OzonePlatformTest #Patch Set 5 : fix include guards #Patch Set 6 : move back to ui/ozone, depend ui/gl and ui/aura on ozone, move init to gl & aura #
Total comments: 4
Patch Set 7 : revert ui/ui.gyp, fix EventFactoryOzone construction in RootWindowHostOzone #Patch Set 8 : rebase #
Messages
Total messages: 38 (0 generated)
|