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

Unified Diff: include/gpu/GrColor.h

Issue 783763002: Initial CL to move color / coverage off of drawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@no-static-gp
Patch Set: nvpr bug fixed Created 6 years 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: include/gpu/GrColor.h
diff --git a/include/gpu/GrColor.h b/include/gpu/GrColor.h
index f862ecc1d069c3bffaecc17528c5a207b15eebd8..f5c5b3d51b826a71dbb6a0c21d31c176abe22222 100644
--- a/include/gpu/GrColor.h
+++ b/include/gpu/GrColor.h
@@ -66,6 +66,9 @@ static inline GrColor GrColorPackRGBA(unsigned r, unsigned g,
*/
#define GrColor_ILLEGAL (~(0xFF << GrColor_SHIFT_A))
+#define GrColor_WHITE 0xFFFFFFFF
+#define GrColor_BLACK 0x0
bsalomon 2014/12/08 19:42:13 I think this should be TRANSPARENT or TRANSPARENT_
+
/**
* Assert in debug builds that a GrColor is premultiplied.
*/

Powered by Google App Engine
This is Rietveld 408576698