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

Unified Diff: cc/texture.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: cc/texture.h
diff --git a/cc/texture.h b/cc/texture.h
index 8d0def354495aab9e2cf023a8781a6bec9c03cdf..b55e6e7aad60b6cb3aeb4d8729da78bc11ce412c 100644
--- a/cc/texture.h
+++ b/cc/texture.h
@@ -12,19 +12,19 @@
namespace cc {
-class CCTexture {
+class Texture {
public:
- CCTexture() : m_id(0) { }
- CCTexture(unsigned id, IntSize size, GC3Denum format)
+ Texture() : m_id(0) { }
+ Texture(unsigned id, IntSize size, GC3Denum format)
: m_id(id)
, m_size(size)
, m_format(format) { }
- CCResourceProvider::ResourceId id() const { return m_id; }
+ ResourceProvider::ResourceId id() const { return m_id; }
const IntSize& size() const { return m_size; }
GC3Denum format() const { return m_format; }
- void setId(CCResourceProvider::ResourceId id) { m_id = id; }
+ void setId(ResourceProvider::ResourceId id) { m_id = id; }
void setDimensions(const IntSize&, GC3Denum format);
size_t bytes() const;
@@ -32,7 +32,7 @@ public:
static size_t memorySizeBytes(const IntSize&, GC3Denum format);
private:
- CCResourceProvider::ResourceId m_id;
+ ResourceProvider::ResourceId m_id;
IntSize m_size;
GC3Denum m_format;
};
« cc/active_animation.h ('K') | « cc/test/tiled_layer_test_common.cc ('k') | cc/texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698