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

Unified Diff: cc/texture.cc

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.cc
diff --git a/cc/texture.cc b/cc/texture.cc
index add842922efefe1b1d9d1a360a2f45289e725aab..e5d87b845e27c6f1a7e740047c4dbadcce02b51a 100644
--- a/cc/texture.cc
+++ b/cc/texture.cc
@@ -8,13 +8,13 @@
namespace cc {
-void CCTexture::setDimensions(const IntSize& size, GC3Denum format)
+void Texture::setDimensions(const IntSize& size, GC3Denum format)
{
m_size = size;
m_format = format;
}
-size_t CCTexture::bytes() const
+size_t Texture::bytes() const
{
if (m_size.isEmpty())
return 0u;
@@ -22,7 +22,7 @@ size_t CCTexture::bytes() const
return memorySizeBytes(m_size, m_format);
}
-size_t CCTexture::memorySizeBytes(const IntSize& size, GC3Denum format)
+size_t Texture::memorySizeBytes(const IntSize& size, GC3Denum format)
{
unsigned int componentsPerPixel = 4;
unsigned int bytesPerComponent = 1;
« cc/active_animation.h ('K') | « cc/texture.h ('k') | cc/texture_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698