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

Unified Diff: gpu/command_buffer/service/texture_definition.h

Issue 1421903006: ui/gl: Move GLImage into gl namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ozone demo Created 5 years, 2 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
Index: gpu/command_buffer/service/texture_definition.h
diff --git a/gpu/command_buffer/service/texture_definition.h b/gpu/command_buffer/service/texture_definition.h
index 9426fc4498bdeaf2d968fdd3bee7812b117f6b18..bc1393c69a0325fcfc071117e8b72500133bc10e 100644
--- a/gpu/command_buffer/service/texture_definition.h
+++ b/gpu/command_buffer/service/texture_definition.h
@@ -11,7 +11,7 @@
#include "gpu/command_buffer/service/gl_utils.h"
#include "ui/gfx/geometry/rect.h"
-namespace gfx {
+namespace gl {
class GLImage;
}
@@ -24,9 +24,9 @@ class NativeImageBuffer : public base::RefCountedThreadSafe<NativeImageBuffer> {
public:
static scoped_refptr<NativeImageBuffer> Create(GLuint texture_id);
- virtual void AddClient(gfx::GLImage* client) = 0;
- virtual void RemoveClient(gfx::GLImage* client) = 0;
- virtual bool IsClient(gfx::GLImage* client) = 0;
+ virtual void AddClient(gl::GLImage* client) = 0;
+ virtual void RemoveClient(gl::GLImage* client) = 0;
+ virtual bool IsClient(gl::GLImage* client) = 0;
virtual void BindToTexture(GLenum target) const = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698