OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_OVERLAY_STRATEGY_SANDWICH_H_ | 5 #ifndef CC_OUTPUT_OVERLAY_STRATEGY_SANDWICH_H_ |
6 #define CC_OUTPUT_OVERLAY_STRATEGY_SANDWICH_H_ | 6 #define CC_OUTPUT_OVERLAY_STRATEGY_SANDWICH_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "cc/output/overlay_processor.h" | 9 #include "cc/output/overlay_processor.h" |
9 | 10 |
10 namespace cc { | 11 namespace cc { |
11 | 12 |
12 class OverlayCandidateValidator; | 13 class OverlayCandidateValidator; |
13 | 14 |
14 // The sandwich strategy looks for a video quad without regard to quads above | 15 // The sandwich strategy looks for a video quad without regard to quads above |
15 // it. The video is "overlaid" on top of the scene, and then the non-empty | 16 // it. The video is "overlaid" on top of the scene, and then the non-empty |
16 // parts of the scene are "overlaid" on top of the video. This is only valid | 17 // parts of the scene are "overlaid" on top of the video. This is only valid |
17 // for overlay contents that are fully opaque. | 18 // for overlay contents that are fully opaque. |
(...skipping 14 matching lines...) Expand all Loading... |
32 QuadList::Iterator candidate_iterator); | 33 QuadList::Iterator candidate_iterator); |
33 | 34 |
34 OverlayCandidateValidator* capability_checker_; // Weak. | 35 OverlayCandidateValidator* capability_checker_; // Weak. |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(OverlayStrategySandwich); | 37 DISALLOW_COPY_AND_ASSIGN(OverlayStrategySandwich); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace cc | 40 } // namespace cc |
40 | 41 |
41 #endif // CC_OUTPUT_OVERLAY_STRATEGY_SANDWICH_H_ | 42 #endif // CC_OUTPUT_OVERLAY_STRATEGY_SANDWICH_H_ |
OLD | NEW |