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

Unified Diff: ui/gl/init/gl_factory.h

Issue 2461803002: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Drop unnecessary dependent patch Created 4 years, 1 month 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/init/gl_factory.h
diff --git a/ui/gl/init/gl_factory.h b/ui/gl/init/gl_factory.h
index be8b2441c46e65604ece9b0d7cd7affff69b62d8..029359e8c74014bbbb22504ab6948ca8334a48c0 100644
--- a/ui/gl/init/gl_factory.h
+++ b/ui/gl/init/gl_factory.h
@@ -70,6 +70,10 @@ GL_INIT_EXPORT scoped_refptr<GLSurface> CreateSurfacelessViewGLSurface(
GL_INIT_EXPORT scoped_refptr<GLSurface> CreateOffscreenGLSurface(
const gfx::Size& size);
+// Creates a GL surface used for offscreen rendering without initializing it.
+GL_INIT_EXPORT scoped_refptr<GLSurface> CreateUninitializedOffscreenGLSurface(
+ const gfx::Size& size);
piman 2016/11/16 00:44:02 So, it sounds like the only reason you want to not
klausw 2017/01/05 02:17:43 I briefly tried this but it caused a bunch of comp
+
} // namespace init
} // namespace gl

Powered by Google App Engine
This is Rietveld 408576698