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

Unified Diff: cc/CCTexture.h

Issue 11122003: [cc] Rename all cc/ filenames to Chromium style (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
« no previous file with comments | « cc/CCStreamVideoDrawQuad.cpp ('k') | cc/CCTexture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCTexture.h
diff --git a/cc/CCTexture.h b/cc/CCTexture.h
index 8d0def354495aab9e2cf023a8781a6bec9c03cdf..4f798d0a1d409834a5effafd2d3abfe1a135b4cd 100644
--- a/cc/CCTexture.h
+++ b/cc/CCTexture.h
@@ -2,41 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CCTexture_h
-#define CCTexture_h
-
-#include "CCResourceProvider.h"
-#include "CCTexture.h"
-#include "GraphicsContext3D.h"
-#include "IntSize.h"
-
-namespace cc {
-
-class CCTexture {
-public:
- CCTexture() : m_id(0) { }
- CCTexture(unsigned id, IntSize size, GC3Denum format)
- : m_id(id)
- , m_size(size)
- , m_format(format) { }
-
- CCResourceProvider::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 setDimensions(const IntSize&, GC3Denum format);
-
- size_t bytes() const;
-
- static size_t memorySizeBytes(const IntSize&, GC3Denum format);
-
-private:
- CCResourceProvider::ResourceId m_id;
- IntSize m_size;
- GC3Denum m_format;
-};
-
-}
-
-#endif
+// Temporary forwarding header
+#include "cc/texture.h"
« no previous file with comments | « cc/CCStreamVideoDrawQuad.cpp ('k') | cc/CCTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698