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

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

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (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/init/gl_factory.h ('k') | ui/gl/scoped_api.h » ('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 09cb4ff2ba4dc7e2137930ea702d2d86bca27cdf..a3ae4c96b6744bb54db71c4413097607ed6f60a5 100644
--- a/ui/gl/init/gl_factory.cc
+++ b/ui/gl/init/gl_factory.cc
@@ -18,31 +18,29 @@ namespace init {
// be deleted.
bool InitializeGLOneOff() {
- return gfx::GLSurface::InitializeOneOff();
+ return GLSurface::InitializeOneOff();
}
-scoped_refptr<gfx::GLContext> CreateGLContext(
- gfx::GLShareGroup* share_group,
- gfx::GLSurface* compatible_surface,
- gfx::GpuPreference gpu_preference) {
- return gfx::GLContext::CreateGLContext(share_group, compatible_surface,
- gpu_preference);
+scoped_refptr<GLContext> CreateGLContext(GLShareGroup* share_group,
+ GLSurface* compatible_surface,
+ GpuPreference gpu_preference) {
+ return GLContext::CreateGLContext(share_group, compatible_surface,
+ gpu_preference);
}
-scoped_refptr<gfx::GLSurface> CreateViewGLSurface(
- gfx::AcceleratedWidget window) {
- return gfx::GLSurface::CreateViewGLSurface(window);
+scoped_refptr<GLSurface> CreateViewGLSurface(gfx::AcceleratedWidget window) {
+ return GLSurface::CreateViewGLSurface(window);
}
#if defined(USE_OZONE)
-scoped_refptr<gfx::GLSurface> CreateSurfacelessViewGLSurface(
+scoped_refptr<GLSurface> CreateSurfacelessViewGLSurface(
gfx::AcceleratedWidget window) {
- return gfx::GLSurface::CreateSurfacelessViewGLSurface(window);
+ return GLSurface::CreateSurfacelessViewGLSurface(window);
}
#endif // defined(USE_OZONE)
-scoped_refptr<gfx::GLSurface> CreateOffscreenGLSurface(const gfx::Size& size) {
- return gfx::GLSurface::CreateOffscreenGLSurface(size);
+scoped_refptr<GLSurface> CreateOffscreenGLSurface(const gfx::Size& size) {
+ return GLSurface::CreateOffscreenGLSurface(size);
}
} // namespace init
« no previous file with comments | « ui/gl/init/gl_factory.h ('k') | ui/gl/scoped_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698