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

Unified Diff: cc/resources/resource_format.h

Issue 463663002: Support an ALPHA_8 UIResourceBitmap format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 6 years, 4 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/resources/resource_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index 816c28579139744cebec7f1b8760e3371398273f..b51ac7cfe721d968a706419e416595494264f891 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -15,6 +15,7 @@ enum ResourceFormat {
RGBA_8888,
RGBA_4444,
BGRA_8888,
+ ALPHA_8,
danakj 2014/08/13 17:17:27 May I ask so I can answer this in the future, why
jdduke (slow) 2014/08/13 18:01:57 Each corresponds to a distinct GL format that has
jdduke (slow) 2014/08/13 18:07:15 I suppose it might be able to achieve the same eff
danakj 2014/08/13 18:46:06 Which blending functions are you refering to here?
jdduke (slow) 2014/08/13 18:53:37 Layer::SetBlendMode(SkXfermode::Mode blend_mode).
LUMINANCE_8,
RGB_565,
ETC1,
« no previous file with comments | « no previous file | cc/resources/resource_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698