Index: ui/gl/gl_surface_egl.h |
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h |
index 9ebe6faa940f463d7799ffeed928116fa83beb2a..4c2892822ecbfa5c0ba5ea5ea82ce06e8f6ab01c 100644 |
--- a/ui/gl/gl_surface_egl.h |
+++ b/ui/gl/gl_surface_egl.h |
@@ -20,6 +20,9 @@ |
namespace gfx { |
+// Get default EGL display for GLSurfaceEGL (differs by platform). |
+EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay(); |
+ |
// Interface for EGL surface. |
class GL_EXPORT GLSurfaceEGL : public GLSurface { |
public: |
@@ -38,6 +41,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(); |