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

Unified Diff: gpu/gles2_conform_support/egl/surface.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/gles2_conform_support/egl/display.cc ('k') | gpu/gles2_conform_support/egl/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/egl/surface.h
diff --git a/gpu/gles2_conform_support/egl/surface.h b/gpu/gles2_conform_support/egl/surface.h
index 3f429bd8096747041f197633e786957ccace833a..5253bc18c53120b278945b5d9cc0b628d1cc6e39 100644
--- a/gpu/gles2_conform_support/egl/surface.h
+++ b/gpu/gles2_conform_support/egl/surface.h
@@ -9,7 +9,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-namespace gfx {
+namespace gl {
class GLSurface;
}
namespace egl {
@@ -17,12 +17,12 @@ class Config;
class Surface : public base::RefCountedThreadSafe<Surface> {
public:
- explicit Surface(gfx::GLSurface* gl_surface, const Config* config);
+ explicit Surface(gl::GLSurface* gl_surface, const Config* config);
void set_is_current_in_some_thread(bool flag) {
is_current_in_some_thread_ = flag;
}
bool is_current_in_some_thread() const { return is_current_in_some_thread_; }
- gfx::GLSurface* gl_surface() const;
+ gl::GLSurface* gl_surface() const;
const Config* config() const;
static bool ValidatePbufferAttributeList(const EGLint* attrib_list);
static bool ValidateWindowAttributeList(const EGLint* attrib_list);
@@ -31,7 +31,7 @@ class Surface : public base::RefCountedThreadSafe<Surface> {
friend class base::RefCountedThreadSafe<Surface>;
~Surface();
bool is_current_in_some_thread_;
- scoped_refptr<gfx::GLSurface> gl_surface_;
+ scoped_refptr<gl::GLSurface> gl_surface_;
const Config* config_;
DISALLOW_COPY_AND_ASSIGN(Surface);
};
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | gpu/gles2_conform_support/egl/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698