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

Unified Diff: ui/gl/gl_context.h

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/gl/gl_bindings_autogen_wgl.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index 368b0ec91c01f87b2657d8167707d603c74956c6..1bdad6af6be763f74887c20a13d5ea6086afdba2 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -26,7 +26,7 @@ namespace gpu {
class GLContextVirtual;
} // namespace gpu
-namespace gfx {
+namespace gl {
class GLSurface;
class GPUTiming;
@@ -60,7 +60,7 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
virtual void* GetHandle() = 0;
// Creates a GPUTimingClient class which abstracts various GPU Timing exts.
- virtual scoped_refptr<gfx::GPUTimingClient> CreateGPUTimingClient() = 0;
+ virtual scoped_refptr<gl::GPUTimingClient> CreateGPUTimingClient() = 0;
// Gets the GLStateRestorer for the context.
GLStateRestorer* GetGLStateRestorer();
@@ -186,7 +186,7 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
class GL_EXPORT GLContextReal : public GLContext {
public:
explicit GLContextReal(GLShareGroup* share_group);
- scoped_refptr<gfx::GPUTimingClient> CreateGPUTimingClient() override;
+ scoped_refptr<gl::GPUTimingClient> CreateGPUTimingClient() override;
protected:
~GLContextReal() override;
@@ -194,10 +194,10 @@ class GL_EXPORT GLContextReal : public GLContext {
void SetCurrent(GLSurface* surface) override;
private:
- std::unique_ptr<gfx::GPUTiming> gpu_timing_;
+ std::unique_ptr<gl::GPUTiming> gpu_timing_;
DISALLOW_COPY_AND_ASSIGN(GLContextReal);
};
-} // namespace gfx
+} // namespace gl
#endif // UI_GL_GL_CONTEXT_H_
« no previous file with comments | « ui/gl/gl_bindings_autogen_wgl.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698