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

Unified Diff: Source/platform/graphics/GraphicsTypes.h

Issue 658603002: 2D canvas: fix shadow rendering with compositing modes that require temp layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rehash Created 6 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
Index: Source/platform/graphics/GraphicsTypes.h
diff --git a/Source/platform/graphics/GraphicsTypes.h b/Source/platform/graphics/GraphicsTypes.h
index 2fac7768d65d047ae35551759ea143da3c01d2bc..25f59421218926f315df9d2b79725ea2bf64525c 100644
--- a/Source/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -72,6 +72,12 @@ enum CompositeOperator {
CompositeDifference
};
+enum ShadowMode {
+ DrawShadowAndForeground,
+ DrawShadowOnly,
+ DrawForegroundOnly
jbroman 2014/10/14 21:09:48 This doesn't sound like a shadow mode to me; why n
+};
+
enum GradientSpreadMethod {
SpreadMethodPad,
SpreadMethodReflect,
« Source/platform/graphics/GraphicsContext.cpp ('K') | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698