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

Unified Diff: cc/resource.h

Issue 11377055: cc: Rename Texture class to Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 1 month 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/renderer.h ('k') | cc/resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resource.h
diff --git a/cc/texture.h b/cc/resource.h
similarity index 83%
rename from cc/texture.h
rename to cc/resource.h
index cd9df1dfe9a5f19c1352c60e31f1b2862065187c..773b7a36101679bda8446932da35c7e191750acb 100644
--- a/cc/texture.h
+++ b/cc/resource.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_TEXTURE_H_
-#define CC_TEXTURE_H_
+#ifndef CC_RESOURCE_H_
+#define CC_RESOURCE_H_
#include "cc/cc_export.h"
#include "cc/resource_provider.h"
@@ -12,10 +12,10 @@
namespace cc {
-class CC_EXPORT Texture {
+class CC_EXPORT Resource {
public:
- Texture() : m_id(0) { }
- Texture(unsigned id, gfx::Size size, GLenum format)
+ Resource() : m_id(0) { }
+ Resource(unsigned id, gfx::Size size, GLenum format)
: m_id(id)
, m_size(size)
, m_format(format) { }
@@ -40,4 +40,4 @@ private:
}
-#endif // CC_TEXTURE_H_
+#endif // CC_RESOURCE_H_
« no previous file with comments | « cc/renderer.h ('k') | cc/resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698