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

Unified Diff: ui/gl/gl_surface_egl.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.h ('k') | ui/gl/gl_surface_glx.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.cc
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index a94c14f3aeef2f4c3d9bc21d902e03dce28ad5a3..ffd7ced1c0d90123a44341beaea498db9f8faa4c 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -126,7 +126,7 @@ bool g_egl_surfaceless_context_supported = false;
bool g_egl_surface_orientation_supported = false;
bool g_use_direct_composition = false;
-class EGLSyncControlVSyncProvider : public gl::SyncControlVSyncProvider {
+class EGLSyncControlVSyncProvider : public SyncControlVSyncProvider {
public:
explicit EGLSyncControlVSyncProvider(EGLSurface surface)
: SyncControlVSyncProvider(),
@@ -662,7 +662,7 @@ bool NativeViewGLSurfaceEGL::Initialize(
egl_window_attributes.push_back(size_.height());
}
- if (gl::g_driver_egl.ext.b_EGL_NV_post_sub_buffer) {
+ if (g_driver_egl.ext.b_EGL_NV_post_sub_buffer) {
egl_window_attributes.push_back(EGL_POST_SUB_BUFFER_SUPPORTED_NV);
egl_window_attributes.push_back(EGL_TRUE);
}
@@ -699,7 +699,7 @@ bool NativeViewGLSurfaceEGL::Initialize(
return false;
}
- if (gl::g_driver_egl.ext.b_EGL_NV_post_sub_buffer) {
+ if (g_driver_egl.ext.b_EGL_NV_post_sub_buffer) {
EGLint surfaceVal;
EGLBoolean retVal = eglQuerySurface(
GetDisplay(), surface_, EGL_POST_SUB_BUFFER_SUPPORTED_NV, &surfaceVal);
@@ -898,7 +898,7 @@ gfx::VSyncProvider* NativeViewGLSurfaceEGL::GetVSyncProvider() {
bool NativeViewGLSurfaceEGL::ScheduleOverlayPlane(
int z_order,
gfx::OverlayTransform transform,
- gl::GLImage* image,
+ GLImage* image,
const gfx::Rect& bounds_rect,
const gfx::RectF& crop_rect) {
#if !defined(OS_ANDROID)
@@ -1056,10 +1056,10 @@ void* PbufferGLSurfaceEGL::GetShareHandle() {
NOTREACHED();
return NULL;
#else
- if (!gl::g_driver_egl.ext.b_EGL_ANGLE_query_surface_pointer)
+ if (!g_driver_egl.ext.b_EGL_ANGLE_query_surface_pointer)
return NULL;
- if (!gl::g_driver_egl.ext.b_EGL_ANGLE_surface_d3d_texture_2d_share_handle)
+ if (!g_driver_egl.ext.b_EGL_ANGLE_surface_d3d_texture_2d_share_handle)
return NULL;
void* handle;
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | ui/gl/gl_surface_glx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698