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

Unified Diff: content/gpu/gpu_main.cc

Issue 1723303002: Implement GLX for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + fixes. Created 4 years, 8 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
« no previous file with comments | « no previous file | ui/events/platform/x11/x11_event_source_libevent.h » ('j') | ui/gl/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 3dfba0cc5307e0822001e879c1406de1e21f4955..c4920a18d0d932b70373032c238c776f7f685d83 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -191,6 +191,9 @@ int GpuMain(const MainFunctionParams& parameters) {
base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI);
std::unique_ptr<ui::PlatformEventSource> event_source =
ui::PlatformEventSource::CreateDefault();
+#elif defined(USE_OZONE)
rjkroege 2016/04/27 19:08:12 Can you use base::SysInfo::IsRunningOnChromeOS() t
kylechar 2016/04/27 19:36:32 If you look at patch 5, I was checking the ozone p
+ // Ozone X11 needs a UI loop to grab Expose events. https://crbug.com/326995
+ base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI);
#elif defined(OS_LINUX)
base::MessageLoop main_message_loop(base::MessageLoop::TYPE_DEFAULT);
#elif defined(OS_MACOSX)
« no previous file with comments | « no previous file | ui/events/platform/x11/x11_event_source_libevent.h » ('j') | ui/gl/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698