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

Side by Side Diff: cc/layers/layer.h

Issue 1584653004: Ensure Layers have valid sequence numbers for PropertyTrees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | cc/trees/layer_tree_host.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #ifndef CC_LAYERS_LAYER_H_ 5 #ifndef CC_LAYERS_LAYER_H_
6 #define CC_LAYERS_LAYER_H_ 6 #define CC_LAYERS_LAYER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 } 463 }
464 464
465 virtual void RunMicroBenchmark(MicroBenchmark* benchmark); 465 virtual void RunMicroBenchmark(MicroBenchmark* benchmark);
466 466
467 void Set3dSortingContextId(int id); 467 void Set3dSortingContextId(int id);
468 int sorting_context_id() const { return sorting_context_id_; } 468 int sorting_context_id() const { return sorting_context_id_; }
469 469
470 void set_property_tree_sequence_number(int sequence_number) { 470 void set_property_tree_sequence_number(int sequence_number) {
471 property_tree_sequence_number_ = sequence_number; 471 property_tree_sequence_number_ = sequence_number;
472 } 472 }
473 int property_tree_sequence_number() { return property_tree_sequence_number_; }
473 474
474 void SetTransformTreeIndex(int index); 475 void SetTransformTreeIndex(int index);
475 int transform_tree_index() const; 476 int transform_tree_index() const;
476 477
477 void SetClipTreeIndex(int index); 478 void SetClipTreeIndex(int index);
478 int clip_tree_index() const; 479 int clip_tree_index() const;
479 480
480 void SetEffectTreeIndex(int index); 481 void SetEffectTreeIndex(int index);
481 int effect_tree_index() const; 482 int effect_tree_index() const;
482 483
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 std::vector<FrameTimingRequest> frame_timing_requests_; 792 std::vector<FrameTimingRequest> frame_timing_requests_;
792 bool frame_timing_requests_dirty_; 793 bool frame_timing_requests_dirty_;
793 bool is_hidden_from_property_trees_; 794 bool is_hidden_from_property_trees_;
794 795
795 DISALLOW_COPY_AND_ASSIGN(Layer); 796 DISALLOW_COPY_AND_ASSIGN(Layer);
796 }; 797 };
797 798
798 } // namespace cc 799 } // namespace cc
799 800
800 #endif // CC_LAYERS_LAYER_H_ 801 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698