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

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: Rebase/refactor. Created 4 years, 9 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 4e96c9b48d331fc1a3abdffd98f18484f82af735..3c46a4661e94041763a56c125693823838208c91 100644
--- a/ui/ozone/platform/x11/x11_surface_factory.cc
+++ b/ui/ozone/platform/x11/x11_surface_factory.cc
@@ -130,4 +130,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