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

Unified Diff: ui/ozone/demo/ozone_demo.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/gl_renderer.cc ('k') | ui/ozone/demo/surfaceless_gl_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/demo/ozone_demo.cc
diff --git a/ui/ozone/demo/ozone_demo.cc b/ui/ozone/demo/ozone_demo.cc
index f3a0e4bb632a5c0bad268968ba34d6aa26b05b13..1a874ed426127e6fb85eab26de2130f3cdc833dd 100644
--- a/ui/ozone/demo/ozone_demo.cc
+++ b/ui/ozone/demo/ozone_demo.cc
@@ -43,8 +43,8 @@ const char kWindowSize[] = "window-size";
class DemoWindow;
-scoped_refptr<gfx::GLSurface> CreateGLSurface(gfx::AcceleratedWidget widget) {
- scoped_refptr<gfx::GLSurface> surface;
+scoped_refptr<gl::GLSurface> CreateGLSurface(gfx::AcceleratedWidget widget) {
+ scoped_refptr<gl::GLSurface> surface;
if (!base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableSurfaceless))
surface = gl::init::CreateSurfacelessViewGLSurface(widget);
if (!surface)
@@ -214,7 +214,7 @@ std::unique_ptr<ui::Renderer> RendererFactory::CreateRenderer(
const gfx::Size& size) {
switch (type_) {
case GL: {
- scoped_refptr<gfx::GLSurface> surface = CreateGLSurface(widget);
+ scoped_refptr<gl::GLSurface> surface = CreateGLSurface(widget);
if (!surface)
LOG(FATAL) << "Failed to create GL surface";
if (surface->IsSurfaceless())
« no previous file with comments | « ui/ozone/demo/gl_renderer.cc ('k') | ui/ozone/demo/surfaceless_gl_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698