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

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. 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/gl_surface_ozone.cc » ('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..079258888ca2aa0634f707a6d2a7e612c8564ae1 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(OS_LINUX) && defined(USE_OZONE)
sadrul 2016/04/19 14:49:49 Do you need defined(OS_LINUX) here?
kylechar 2016/04/19 16:00:20 Umm. I'm not actually sure. I don't think think it
+ // 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/gl_surface_ozone.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698