Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index e72ec1189077c2d59c5322ac2a7c8d03cf7632eb..6a2a732408983e8db7dd03143b019893176e85cf 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -129,6 +129,7 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
virtual void CommitOverlayPlanesAsync(const SwapCompletionCallback& callback); |
// Initialize GL bindings. |
+ // DEPRECATED(kylechar): Use gl::init::InitializeGLOneOff from gl_factory.h. |
static bool InitializeOneOff(); |
// Called after a context is made current with this surface. Returns false |
@@ -197,6 +198,7 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
virtual bool BuffersFlipped() const; |
// Create a GL surface that renders directly to a view. |
+ // DEPRECATED(kylechar): Use gl::init::CreateViewGLSurface from gl_factory.h. |
static scoped_refptr<GLSurface> CreateViewGLSurface( |
gfx::AcceleratedWidget window); |
@@ -205,11 +207,15 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// semantics - there is no default framebuffer and the primary surface must |
// be presented as an overlay. If surfaceless mode is not supported or |
// enabled it will return a null pointer. |
+ // DEPRECATED(kylechar): Use gl::init::CreateSurfacelessViewGLSurface from |
+ // gl_factory.h. |
static scoped_refptr<GLSurface> CreateSurfacelessViewGLSurface( |
gfx::AcceleratedWidget window); |
#endif // defined(USE_OZONE) |
// Create a GL surface used for offscreen rendering. |
+ // DEPRECATED(kylechar): Use gl::init::CreateOffscreenGLSurface from |
+ // gl_factory.h. |
static scoped_refptr<GLSurface> CreateOffscreenGLSurface( |
const gfx::Size& size); |