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

Side by Side Diff: ui/gl/init/gl_surface_ozone.h

Issue 2165303002: Convert Ozone GBM to use new surface API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ozone_impl
Patch Set: Add missing dep. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « ui/gl/init/gl_factory_ozone.cc ('k') | ui/gl/init/gl_surface_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_INIT_GL_SURFACE_OZONE_H_ 5 #ifndef UI_GL_INIT_GL_SURFACE_OZONE_H_
6 #define UI_GL_INIT_GL_SURFACE_OZONE_H_ 6 #define UI_GL_INIT_GL_SURFACE_OZONE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/gl/gl_surface.h" 10 #include "ui/gl/gl_surface.h"
11 11
12 namespace gl { 12 namespace gl {
13 13
14 // TODO(kylechar): These functions, plus the corresponding GLSurface classes 14 // TODO(kylechar): These functions, plus the corresponding GLSurface classes
15 // have been moved into //ui/gl/init as a temporary step to break the dependency 15 // have been moved into //ui/gl/init as a temporary step to break the dependency
16 // from //ui/gl to //ui/ozone. Once that dependency is broken the Ozone 16 // from //ui/gl to //ui/ozone. Once that dependency is broken the Ozone
17 // GLSurface classes should be made into base classes for each Ozone platform to 17 // GLSurface classes should be made into base classes for each Ozone platform to
18 // override and moved back to //ui/gl. 18 // override and moved back to //ui/gl.
19 19
20 scoped_refptr<GLSurface> CreateViewGLSurfaceOzone( 20 scoped_refptr<GLSurface> CreateViewGLSurfaceOzone(
21 gfx::AcceleratedWidget window); 21 gfx::AcceleratedWidget window);
22 22
23 scoped_refptr<GLSurface> CreateViewGLSurfaceOzoneSurfaceless(
24 gfx::AcceleratedWidget window);
25
26 scoped_refptr<GLSurface> CreateViewGLSurfaceOzoneSurfacelessSurfaceImpl(
27 gfx::AcceleratedWidget window);
28
29 } // namespace gl 23 } // namespace gl
30 24
31 #endif // UI_GL_INIT_GL_SURFACE_OZONE_H_ 25 #endif // UI_GL_INIT_GL_SURFACE_OZONE_H_
OLDNEW
« no previous file with comments | « ui/gl/init/gl_factory_ozone.cc ('k') | ui/gl/init/gl_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698