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

Unified Diff: cc/resources/resource_format.h

Issue 735493003: cc: Added RED_8 to the ResourceFormat enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index b51ac7cfe721d968a706419e416595494264f891..d785ab7382b8db450ed675580712d5b0675bc7fd 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -19,7 +19,8 @@ enum ResourceFormat {
LUMINANCE_8,
RGB_565,
ETC1,
- RESOURCE_FORMAT_MAX = ETC1,
+ RED_8,
danakj 2014/11/26 20:13:53 This makes the 3rd way to say it's a single byte.
+ RESOURCE_FORMAT_MAX = RED_8,
};
SkColorType ResourceFormatToSkColorType(ResourceFormat format);

Powered by Google App Engine
This is Rietveld 408576698