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

Unified Diff: ui/gl/init/gl_factory_ozone.cc

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_ozone.cc
diff --git a/ui/gl/init/gl_factory_ozone.cc b/ui/gl/init/gl_factory_ozone.cc
index ef3cb9a0872f885d0271a606d7725faa68368c56..2da35e04fff0dbfd19f3dafa3723d2046b5d4d0f 100644
--- a/ui/gl/init/gl_factory_ozone.cc
+++ b/ui/gl/init/gl_factory_ozone.cc
@@ -146,5 +146,10 @@ scoped_refptr<GLSurface> CreateOffscreenGLSurface(const gfx::Size& size) {
GetGLImplementation(), size);
}
+scoped_refptr<GLSurface> CreateUninitializedOffscreenGLSurface(
+ const gfx::Size& size) {
+ return CreateOffscreenGLSurface(size);
piman 2016/11/16 00:44:03 That will return an initialized surface, and it wi
klausw 2017/01/05 02:17:43 Moot, now using CreateOffscreenGLSurfaceWithFormat
+}
+
} // namespace init
} // namespace gl

Powered by Google App Engine
This is Rietveld 408576698