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

Unified Diff: src/utils/SkTextureCompressor.h

Issue 358973004: Add a preliminary R11 EAC compressor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make everything uint16_t Created 6 years, 6 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 | src/utils/SkTextureCompressor.cpp » ('j') | src/utils/SkTextureCompressor.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkTextureCompressor.h
diff --git a/src/utils/SkTextureCompressor.h b/src/utils/SkTextureCompressor.h
index 7dda66b0880205f7af42812a30de2fbd5bee20bc..35b9b864307405122f1e1d6e9c313b5376f4237a 100644
--- a/src/utils/SkTextureCompressor.h
+++ b/src/utils/SkTextureCompressor.h
@@ -16,10 +16,11 @@ class SkData;
namespace SkTextureCompressor {
// Various texture compression formats that we support.
enum Format {
- // Alpha only format.
+ // Alpha only formats.
kLATC_Format,
+ kR11_EAC_Format,
- kLast_Format = kLATC_Format
+ kLast_Format = kR11_EAC_Format
};
static const int kFormatCnt = kLast_Format + 1;
« no previous file with comments | « no previous file | src/utils/SkTextureCompressor.cpp » ('j') | src/utils/SkTextureCompressor.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698