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

Unified Diff: ui/gl/gl_surface_glx.cc

Issue 2014223002: Follow-up fixes to changing namespace 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_surface_egl.cc ('k') | ui/gl/gl_surface_overlay.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_glx.cc
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
index 9bb4d7a2125a238575a8190f43de954e15b3c7bd..023975e2fa604f0e5d37d25a0da91d2a7bccab50 100644
--- a/ui/gl/gl_surface_glx.cc
+++ b/ui/gl/gl_surface_glx.cc
@@ -115,7 +115,7 @@ GLXFBConfig GetConfigForWindow(Display* display,
return nullptr;
}
-class OMLSyncControlVSyncProvider : public gl::SyncControlVSyncProvider {
+class OMLSyncControlVSyncProvider : public SyncControlVSyncProvider {
public:
explicit OMLSyncControlVSyncProvider(GLXWindow glx_window)
: SyncControlVSyncProvider(),
@@ -554,7 +554,7 @@ void* NativeViewGLSurfaceGLX::GetHandle() {
}
bool NativeViewGLSurfaceGLX::SupportsPostSubBuffer() {
- return gl::g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer;
+ return g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer;
}
void* NativeViewGLSurfaceGLX::GetConfig() {
@@ -567,7 +567,7 @@ gfx::SwapResult NativeViewGLSurfaceGLX::PostSubBuffer(int x,
int y,
int width,
int height) {
- DCHECK(gl::g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer);
+ DCHECK(g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer);
glXCopySubBufferMESA(g_display, GetDrawableHandle(), x, y, width, height);
return gfx::SwapResult::SWAP_ACK;
}
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/gl_surface_overlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698