OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |