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

Unified Diff: ui/ozone/public/surface_factory_ozone.h

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/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index cebf49a48adb5d813d21469eeaf382b70c3720a1..d2ac76212a5cf7a8c6d96e468e34044510d91660 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -114,6 +114,9 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
gfx::BufferFormat format,
const gfx::NativePixmapHandle& handle);
+ // Returns true if the Ozone platform supports GLX.
+ virtual bool SupportsGLX();
+
protected:
SurfaceFactoryOzone();
virtual ~SurfaceFactoryOzone();

Powered by Google App Engine
This is Rietveld 408576698