Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: ui/ozone/platform/drm/ozone_platform_gbm.cc

Issue 1309273005: native_viewport support for ozone (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/drm/ozone_platform_gbm.cc
diff --git a/ui/ozone/platform/drm/ozone_platform_gbm.cc b/ui/ozone/platform/drm/ozone_platform_gbm.cc
index a59908aff8827b3eaf81df35ae639ca0a8f9e87f..7ca4f198b45b94a704b02a14bec79076332dd0c3 100644
--- a/ui/ozone/platform/drm/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/drm/ozone_platform_gbm.cc
@@ -226,10 +226,8 @@ class OzonePlatformGbm : public OzonePlatform {
OzonePlatform* CreateOzonePlatformGbm() {
base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
-#if defined(USE_MESA_PLATFORM_NULL)
- // Only works with surfaceless.
+ // Always go surfaceless.
cmd->AppendSwitch(switches::kOzoneUseSurfaceless);
-#endif
return new OzonePlatformGbm(cmd->HasSwitch(switches::kOzoneUseSurfaceless));
}
« ui/gl/gl_surface_ozone.cc ('K') | « ui/ozone/platform/drm/gpu/gbm_surface_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698