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

Unified Diff: cc/texture.cc

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (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/texture.h ('k') | cc/texture_copier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture.cc
diff --git a/cc/texture.cc b/cc/texture.cc
index add842922efefe1b1d9d1a360a2f45289e725aab..beeff6bddbf76b35e7c558ca1c11ee2ba5526aee 100644
--- a/cc/texture.cc
+++ b/cc/texture.cc
@@ -8,7 +8,7 @@
namespace cc {
-void CCTexture::setDimensions(const IntSize& size, GC3Denum format)
+void CCTexture::setDimensions(const IntSize& size, GLenum format)
{
m_size = size;
m_format = format;
@@ -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 CCTexture::memorySizeBytes(const IntSize& size, GLenum format)
{
unsigned int componentsPerPixel = 4;
unsigned int bytesPerComponent = 1;
« no previous file with comments | « cc/texture.h ('k') | cc/texture_copier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698