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

Unified Diff: gpu/gles2_conform_support/egl/display.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 | « gpu/gles2_conform_support/egl/context.cc ('k') | gpu/gles2_conform_support/egl/surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/egl/display.cc
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index f80820f6091d8118b002f0106d8622e15edceeab..22be5c376d5f390fd67da44fcd5b0eb37243686a 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -178,7 +178,7 @@ EGLSurface Display::DoCreatePbufferSurface(ThreadState* ts,
EGLint width,
EGLint height) {
lock_.AssertAcquired();
- scoped_refptr<gfx::GLSurface> gl_surface;
+ scoped_refptr<gl::GLSurface> gl_surface;
gl_surface = gl::init::CreateOffscreenGLSurface(gfx::Size(width, height));
if (!gl_surface)
return ts->ReturnError(EGL_BAD_ALLOC, nullptr);
@@ -213,7 +213,7 @@ EGLSurface Display::CreateWindowSurface(ThreadState* ts,
window_surface_pbuffer_height_ = 0;
return result;
}
- scoped_refptr<gfx::GLSurface> gl_surface;
+ scoped_refptr<gl::GLSurface> gl_surface;
gl_surface = gl::init::CreateViewGLSurface(win);
if (!gl_surface)
return ts->ReturnError(EGL_BAD_ALLOC, EGL_NO_SURFACE);
@@ -367,7 +367,7 @@ void Display::InitializeConfigsIfNeeded() {
if (!configs_[0]) {
// The interface offers separate configs for window and pbuffer.
// This way we can record the client intention at context creation time.
- // The GL implementation (gfx::GLContext and gfx::GLSurface) needs this
+ // The GL implementation (gl::GLContext and gl::GLSurface) needs this
// distinction when creating a context.
configs_[0].reset(new Config(EGL_WINDOW_BIT));
configs_[1].reset(new Config(EGL_PBUFFER_BIT));
« no previous file with comments | « gpu/gles2_conform_support/egl/context.cc ('k') | gpu/gles2_conform_support/egl/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698