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

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

Issue 1800923002: cc: Directly use property trees to calculate clip rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix perftests compile by not verify clip tree calc there Created 4 years, 7 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/property_tree.h ('k') | cc/trees/property_tree_builder.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 has_copy_request(false), 497 has_copy_request(false),
498 has_background_filters(false), 498 has_background_filters(false),
499 hidden_by_backface_visibility(false), 499 hidden_by_backface_visibility(false),
500 double_sided(false), 500 double_sided(false),
501 is_drawn(true), 501 is_drawn(true),
502 subtree_hidden(false), 502 subtree_hidden(false),
503 has_potential_opacity_animation(false), 503 has_potential_opacity_animation(false),
504 is_currently_animating_opacity(false), 504 is_currently_animating_opacity(false),
505 effect_changed(false), 505 effect_changed(false),
506 num_copy_requests_in_subtree(0), 506 num_copy_requests_in_subtree(0),
507 has_unclipped_descendants(false),
507 transform_id(0), 508 transform_id(0),
508 clip_id(0), 509 clip_id(0),
509 target_id(0) {} 510 target_id(0) {}
510 511
511 EffectNodeData::EffectNodeData(const EffectNodeData& other) = default; 512 EffectNodeData::EffectNodeData(const EffectNodeData& other) = default;
512 513
513 bool EffectNodeData::operator==(const EffectNodeData& other) const { 514 bool EffectNodeData::operator==(const EffectNodeData& other) const {
514 return opacity == other.opacity && 515 return opacity == other.opacity &&
515 screen_space_opacity == other.screen_space_opacity && 516 screen_space_opacity == other.screen_space_opacity &&
516 has_render_surface == other.has_render_surface && 517 has_render_surface == other.has_render_surface &&
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
2076 value->EndDictionary(); 2077 value->EndDictionary();
2077 2078
2078 value->BeginDictionary("scroll_tree"); 2079 value->BeginDictionary("scroll_tree");
2079 scroll_tree.AsValueInto(value.get()); 2080 scroll_tree.AsValueInto(value.get());
2080 value->EndDictionary(); 2081 value->EndDictionary();
2081 2082
2082 return value; 2083 return value;
2083 } 2084 }
2084 2085
2085 } // namespace cc 2086 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/property_tree.h ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698