OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_PICTURE_LAYER_H_ | 5 #ifndef CC_LAYERS_PICTURE_LAYER_H_ |
6 #define CC_LAYERS_PICTURE_LAYER_H_ | 6 #define CC_LAYERS_PICTURE_LAYER_H_ |
7 | 7 |
8 #include "cc/base/invalidation_region.h" | 8 #include "cc/base/invalidation_region.h" |
9 #include "cc/debug/devtools_instrumentation.h" | 9 #include "cc/debug/devtools_instrumentation.h" |
10 #include "cc/debug/micro_benchmark_controller.h" | 10 #include "cc/debug/micro_benchmark_controller.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 devtools_instrumentation:: | 54 devtools_instrumentation:: |
55 ScopedLayerObjectTracker instrumentation_object_tracker_; | 55 ScopedLayerObjectTracker instrumentation_object_tracker_; |
56 // Invalidation to use the next time update is called. | 56 // Invalidation to use the next time update is called. |
57 InvalidationRegion pending_invalidation_; | 57 InvalidationRegion pending_invalidation_; |
58 // Invalidation from the last time update was called. | 58 // Invalidation from the last time update was called. |
59 Region pile_invalidation_; | 59 Region pile_invalidation_; |
60 gfx::Rect last_updated_visible_content_rect_; | 60 gfx::Rect last_updated_visible_content_rect_; |
61 | 61 |
62 int update_source_frame_number_; | 62 int update_source_frame_number_; |
63 bool can_use_lcd_text_last_frame_; | 63 bool can_use_lcd_text_last_frame_; |
| 64 bool first_update_lcd_text_occured_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(PictureLayer); | 66 DISALLOW_COPY_AND_ASSIGN(PictureLayer); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace cc | 69 } // namespace cc |
69 | 70 |
70 #endif // CC_LAYERS_PICTURE_LAYER_H_ | 71 #endif // CC_LAYERS_PICTURE_LAYER_H_ |
OLD | NEW |