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

Unified Diff: cc/proto/property_tree.proto

Issue 2184773002: cc: Move blend_mode to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « cc/layers/render_surface_unittest.cc ('k') | cc/trees/effect_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/property_tree.proto
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto
index b1c988f052825926f22a5f6cf6f02d5547cd71e1..9bcdaa070361ca12c95f041d542b4047a76df3c7 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -8,6 +8,7 @@ import "element_id.proto";
import "rectf.proto";
import "scroll_offset.proto";
import "size.proto";
+import "skxfermode.proto";
import "synced_property.proto";
import "transform.proto";
import "vector2df.proto";
@@ -86,10 +87,11 @@ message ClipNodeData {
}
// Proto for struct EffectNodeData.
-// NEXT ID: 25
+// NEXT ID: 26
message EffectNodeData {
optional float opacity = 1;
optional float screen_space_opacity = 2;
+ optional SkXfermode.Mode blend_mode = 25;
optional bool has_render_surface = 3;
optional bool has_copy_request = 4;
optional bool hidden_by_backface_visibility = 14;
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/trees/effect_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698