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

Unified Diff: ui/ozone/demo/surfaceless_gl_renderer.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/ozone/demo/surfaceless_gl_renderer.h ('k') | ui/views/corewm/desktop_capture_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/demo/surfaceless_gl_renderer.cc
diff --git a/ui/ozone/demo/surfaceless_gl_renderer.cc b/ui/ozone/demo/surfaceless_gl_renderer.cc
index ab0fc48e2e0bfc69fdde1cb33a0fb38c87b03cf4..b6b0b41037aa3d3a0fa6fb52d2a4758682c52f21 100644
--- a/ui/ozone/demo/surfaceless_gl_renderer.cc
+++ b/ui/ozone/demo/surfaceless_gl_renderer.cc
@@ -44,8 +44,8 @@ bool SurfacelessGlRenderer::BufferWrapper::Initialize(
->GetSurfaceFactoryOzone()
->CreateNativePixmap(widget, size, gfx::BufferFormat::BGRX_8888,
gfx::BufferUsage::SCANOUT);
- scoped_refptr<gfx::GLImageOzoneNativePixmap> image(
- new gfx::GLImageOzoneNativePixmap(size, GL_RGB));
+ scoped_refptr<gl::GLImageOzoneNativePixmap> image(
+ new gl::GLImageOzoneNativePixmap(size, GL_RGB));
if (!image->Initialize(pixmap.get(), gfx::BufferFormat::BGRX_8888)) {
LOG(ERROR) << "Failed to create GLImage";
return false;
@@ -76,7 +76,7 @@ void SurfacelessGlRenderer::BufferWrapper::BindFramebuffer() {
SurfacelessGlRenderer::SurfacelessGlRenderer(
gfx::AcceleratedWidget widget,
- const scoped_refptr<gfx::GLSurface>& surface,
+ const scoped_refptr<gl::GLSurface>& surface,
const gfx::Size& size)
: GlRenderer(widget, surface, size), weak_ptr_factory_(this) {}
« no previous file with comments | « ui/ozone/demo/surfaceless_gl_renderer.h ('k') | ui/views/corewm/desktop_capture_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698