Index: ui/gl/gl_surface_egl.h |
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h |
index 2c0a046b2b52719d0e9484dd11c4b1c2b6212324..f21128abfb8cc7622f1e7e0ab4e5ba2e937ecfe4 100644 |
--- a/ui/gl/gl_surface_egl.h |
+++ b/ui/gl/gl_surface_egl.h |
@@ -22,6 +22,13 @@ namespace gfx { |
// Get default EGL display for GLSurfaceEGL (differs by platform). |
EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay(); |
+#if defined(OS_WIN) |
+// Windows must call eglGetPlatformDisplayEXT to get ANGLE to enable WARP, so |
+// we define additional data helpers to provide values for the additional |
+// required arguments for that method. |
+const EGLint* GetPlatformDefaultEGLNativeDisplayAttributes(); |
+const EGLenum GetPlatformDefaultEGLNativePlatform(); |
+#endif |
// Interface for EGL surface. |
class GL_EXPORT GLSurfaceEGL : public GLSurface { |