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

Unified Diff: ui/ozone/platform/x11/x11_surface_factory.cc

Issue 1723303002: Implement GLX for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move refactor to new CL. 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
Index: ui/ozone/platform/x11/x11_surface_factory.cc
diff --git a/ui/ozone/platform/x11/x11_surface_factory.cc b/ui/ozone/platform/x11/x11_surface_factory.cc
index 7dcc6dbccb10c1cb84ec24d9e94173b0ed449234..967f1554eb4c706d6fd092a980c5c0d82a48b470 100644
--- a/ui/ozone/platform/x11/x11_surface_factory.cc
+++ b/ui/ozone/platform/x11/x11_surface_factory.cc
@@ -131,4 +131,8 @@ intptr_t X11SurfaceFactory::GetNativeDisplay() {
return reinterpret_cast<intptr_t>(gfx::GetXDisplay());
}
+bool X11SurfaceFactory::SupportsGLX() {
+ return true;
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698