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

Unified Diff: ui/gl/gl_surface.h

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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
« no previous file with comments | « ui/gl/gl_image_surface_texture.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/gl/gl_image_surface_texture.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698