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

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

Issue 2616723002: Refactor GL surface format handling (Closed)
Patch Set: Fix copyright notice on new files Created 3 years, 11 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/init/gl_factory.h ('k') | ui/gl/init/gl_factory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/init/gl_factory.cc
diff --git a/ui/gl/init/gl_factory.cc b/ui/gl/init/gl_factory.cc
index 0cade4082c907f5d50da62f72316cb234ccef29c..dff751b2c798da1c1717eadfb2d693a6b3a51337 100644
--- a/ui/gl/init/gl_factory.cc
+++ b/ui/gl/init/gl_factory.cc
@@ -89,5 +89,9 @@ void ShutdownGL() {
UnloadGLNativeLibraries();
}
+scoped_refptr<GLSurface> CreateOffscreenGLSurface(const gfx::Size& size) {
+ return CreateOffscreenGLSurfaceWithFormat(size, GLSurfaceFormat());
+}
+
} // namespace init
} // namespace gl
« no previous file with comments | « ui/gl/init/gl_factory.h ('k') | ui/gl/init/gl_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698