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

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: 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/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index dc3a07e2b6abdc0ea47dd6ccf4cc4505071f7252..90017646d4810c80f759da1737e8167495f43381 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -115,6 +115,9 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
gfx::BufferFormat format,
const gfx::NativePixmapHandle& handle);
+ // Returns true if the Ozone platform supports GLX.
rjkroege 2016/04/27 19:08:12 I think that I'm opposed to introducing this into
kylechar 2016/04/27 19:36:32 Yes, I think that is the better approach. There is
+ virtual bool SupportsGLX();
+
protected:
SurfaceFactoryOzone();
virtual ~SurfaceFactoryOzone();

Powered by Google App Engine
This is Rietveld 408576698