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

Unified Diff: cc/texture.h

Issue 11229040: Fix glTexSubImage2D for non-32bpp formats. (Closed) Base URL: https://git.chromium.org/git/chromium/src@git-svn
Patch Set: Removed formatting changes, added CCTexture 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 | « no previous file | cc/texture.cc » ('j') | cc/texture_uploader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture.h
diff --git a/cc/texture.h b/cc/texture.h
index 3f9bbe00238c4cf07ac1531e22ceaf68fdb3e7d8..63e843b3712c263b41bfeb9eaadcbc264d0f0d27 100644
--- a/cc/texture.h
+++ b/cc/texture.h
@@ -28,6 +28,7 @@ public:
size_t bytes() const;
+ static size_t bytesPerPixel(GLenum format);
static size_t memorySizeBytes(const IntSize&, GLenum format);
private:
« no previous file with comments | « no previous file | cc/texture.cc » ('j') | cc/texture_uploader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698