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

Unified Diff: ui/gl/gl_implementation_android.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/gl_implementation.cc ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_implementation_android.cc
diff --git a/ui/gl/gl_implementation_android.cc b/ui/gl/gl_implementation_android.cc
index 44d06eca13436f5db08d1d9a2c2023c386ff064a..60baaa2651b2771c524213ba4186f4c6b0280d35 100644
--- a/ui/gl/gl_implementation_android.cc
+++ b/ui/gl/gl_implementation_android.cc
@@ -15,7 +15,7 @@
#include "ui/gl/gl_implementation_osmesa.h"
#include "ui/gl/gl_osmesa_api_implementation.h"
-namespace gfx {
+namespace gl {
namespace {
@@ -74,8 +74,8 @@ bool InitializeStaticGLBindings(GLImplementation implementation) {
// These two functions take single precision float rather than double
// precision float parameters in GLES.
- ::gfx::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf;
- ::gfx::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef;
+ ::gl::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf;
+ ::gl::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef;
break;
}
case kGLImplementationOSMesaGL:
@@ -143,4 +143,4 @@ bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
return false;
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_implementation.cc ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698