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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 196403008: gl: Move platform-specific EGL code into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index db0ebd868faee059c17c9b7b3cec44a3c8223c04..7a3acd8f305de3ed2be376f480fc4cbbc4bdcb6c 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -28,7 +28,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
// Implement GLSurface.
virtual EGLDisplay GetDisplay() OVERRIDE;
- static bool InitializeOneOff();
+ static bool InitializeOneOff(EGLNativeDisplayType native_display);
static EGLDisplay GetHardwareDisplay();
static EGLNativeDisplayType GetNativeDisplay();
@@ -38,6 +38,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
static const char* GetEGLExtensions();
static bool HasEGLExtension(const char* name);
static bool IsCreateContextRobustnessSupported();
+ static bool IsEGLSurfacelessContextSupported();
protected:
virtual ~GLSurfaceEGL();

Powered by Google App Engine
This is Rietveld 408576698