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

Unified Diff: gpu/gles2_conform_support/egl/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 | « gpu/config/gpu_info_collector_win.cc ('k') | gpu/gles2_conform_support/egl/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/egl/context.h
diff --git a/gpu/gles2_conform_support/egl/context.h b/gpu/gles2_conform_support/egl/context.h
index a5facf22dc5a9f3691afc0c8e3663ecf5598ee35..341b5c0658d822e9a04e5d929cfccfd2301cac2d 100644
--- a/gpu/gles2_conform_support/egl/context.h
+++ b/gpu/gles2_conform_support/egl/context.h
@@ -84,13 +84,13 @@ class Context : public base::RefCountedThreadSafe<Context>,
// Called by ThreadState to set the needed global variables when this context
// is current.
- void ApplyCurrentContext(gfx::GLSurface* current_surface);
+ void ApplyCurrentContext(gl::GLSurface* current_surface);
static void ApplyContextReleased();
private:
friend class base::RefCountedThreadSafe<Context>;
~Context() override;
- bool CreateService(gfx::GLSurface* gl_surface);
+ bool CreateService(gl::GLSurface* gl_surface);
void DestroyService();
// Returns true if the object has GL service, either a working one or one
// that has lost its GL context.
@@ -98,7 +98,7 @@ class Context : public base::RefCountedThreadSafe<Context>,
void MarkServiceContextLost();
bool WasServiceContextLost() const;
bool IsCompatibleSurface(Surface* surface) const;
- bool Flush(gfx::GLSurface* gl_surface);
+ bool Flush(gl::GLSurface* gl_surface);
Display* display_;
const Config* config_;
@@ -112,7 +112,7 @@ class Context : public base::RefCountedThreadSafe<Context>,
std::unique_ptr<gpu::CommandExecutor> command_executor_;
std::unique_ptr<gpu::TransferBuffer> transfer_buffer_;
- scoped_refptr<gfx::GLContext> gl_context_;
+ scoped_refptr<gl::GLContext> gl_context_;
std::unique_ptr<gpu::gles2::GLES2Interface> client_gl_context_;
DISALLOW_COPY_AND_ASSIGN(Context);
« no previous file with comments | « gpu/config/gpu_info_collector_win.cc ('k') | gpu/gles2_conform_support/egl/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698