OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_OUTPUT_DC_LAYER_OVERLAY_H_ | 5 #ifndef CC_OUTPUT_DC_LAYER_OVERLAY_H_ |
6 #define CC_OUTPUT_DC_LAYER_OVERLAY_H_ | 6 #define CC_OUTPUT_DC_LAYER_OVERLAY_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "cc/quads/render_pass.h" | 9 #include "cc/quads/render_pass.h" |
10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 private: | 88 private: |
89 DCLayerResult FromDrawQuad(ResourceProvider* resource_provider, | 89 DCLayerResult FromDrawQuad(ResourceProvider* resource_provider, |
90 const gfx::RectF& display_rect, | 90 const gfx::RectF& display_rect, |
91 QuadList::ConstIterator quad_list_begin, | 91 QuadList::ConstIterator quad_list_begin, |
92 QuadList::ConstIterator quad, | 92 QuadList::ConstIterator quad, |
93 DCLayerOverlay* ca_layer_overlay); | 93 DCLayerOverlay* ca_layer_overlay); |
94 | 94 |
95 gfx::Rect previous_frame_underlay_rect_; | 95 gfx::Rect previous_frame_underlay_rect_; |
96 gfx::Rect previous_occlusion_bounding_box_; | 96 gfx::Rect previous_occlusion_bounding_box_; |
| 97 gfx::RectF previous_display_rect_; |
97 }; | 98 }; |
98 | 99 |
99 } // namespace cc | 100 } // namespace cc |
100 | 101 |
101 #endif // CC_OUTPUT_DC_LAYER_OVERLAY_H_ | 102 #endif // CC_OUTPUT_DC_LAYER_OVERLAY_H_ |
OLD | NEW |