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

Side by Side Diff: cc/trees/effect_node.cc

Issue 2828353003: Determine mask UVs based on texture size (Closed)
Patch Set: Add tolerance to filter_effects.html Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « cc/trees/effect_node.h ('k') | cc/trees/layer_tree_host_pixeltest_masks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/trace_event/trace_event_argument.h" 5 #include "base/trace_event/trace_event_argument.h"
6 #include "cc/layers/layer.h" 6 #include "cc/layers/layer.h"
7 #include "cc/trees/effect_node.h" 7 #include "cc/trees/effect_node.h"
8 #include "cc/trees/property_tree.h" 8 #include "cc/trees/property_tree.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 28 matching lines...) Expand all
39 return id == other.id && parent_id == other.parent_id && 39 return id == other.id && parent_id == other.parent_id &&
40 owning_layer_id == other.owning_layer_id && opacity == other.opacity && 40 owning_layer_id == other.owning_layer_id && opacity == other.opacity &&
41 screen_space_opacity == other.screen_space_opacity && 41 screen_space_opacity == other.screen_space_opacity &&
42 has_render_surface == other.has_render_surface && 42 has_render_surface == other.has_render_surface &&
43 has_copy_request == other.has_copy_request && 43 has_copy_request == other.has_copy_request &&
44 filters == other.filters && 44 filters == other.filters &&
45 background_filters == other.background_filters && 45 background_filters == other.background_filters &&
46 filters_origin == other.filters_origin && 46 filters_origin == other.filters_origin &&
47 blend_mode == other.blend_mode && 47 blend_mode == other.blend_mode &&
48 surface_contents_scale == other.surface_contents_scale && 48 surface_contents_scale == other.surface_contents_scale &&
49 unscaled_mask_target_size == other.unscaled_mask_target_size &&
50 hidden_by_backface_visibility == other.hidden_by_backface_visibility && 49 hidden_by_backface_visibility == other.hidden_by_backface_visibility &&
51 double_sided == other.double_sided && is_drawn == other.is_drawn && 50 double_sided == other.double_sided && is_drawn == other.is_drawn &&
52 subtree_hidden == other.subtree_hidden && 51 subtree_hidden == other.subtree_hidden &&
53 has_potential_filter_animation == 52 has_potential_filter_animation ==
54 other.has_potential_filter_animation && 53 other.has_potential_filter_animation &&
55 has_potential_opacity_animation == 54 has_potential_opacity_animation ==
56 other.has_potential_opacity_animation && 55 other.has_potential_opacity_animation &&
57 is_currently_animating_filter == other.is_currently_animating_filter && 56 is_currently_animating_filter == other.is_currently_animating_filter &&
58 is_currently_animating_opacity == 57 is_currently_animating_opacity ==
59 other.is_currently_animating_opacity && 58 other.is_currently_animating_opacity &&
(...skipping 19 matching lines...) Expand all
79 value->SetBoolean("effect_changed", effect_changed); 78 value->SetBoolean("effect_changed", effect_changed);
80 value->SetInteger("num_copy_requests_in_subtree", 79 value->SetInteger("num_copy_requests_in_subtree",
81 num_copy_requests_in_subtree); 80 num_copy_requests_in_subtree);
82 value->SetInteger("transform_id", transform_id); 81 value->SetInteger("transform_id", transform_id);
83 value->SetInteger("clip_id", clip_id); 82 value->SetInteger("clip_id", clip_id);
84 value->SetInteger("target_id", target_id); 83 value->SetInteger("target_id", target_id);
85 value->SetInteger("mask_layer_id", mask_layer_id); 84 value->SetInteger("mask_layer_id", mask_layer_id);
86 } 85 }
87 86
88 } // namespace cc 87 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/effect_node.h ('k') | cc/trees/layer_tree_host_pixeltest_masks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698