Chromium Code Reviews| Index: cc/output/overlay_strategy_single_on_top.h |
| diff --git a/cc/output/overlay_strategy_single_on_top.h b/cc/output/overlay_strategy_single_on_top.h |
| index e5518cc5c9b2557afc1867b172b32a7acdf13448..db8e4630c7092c2dc5318aaeb6a85843ad62fe57 100644 |
| --- a/cc/output/overlay_strategy_single_on_top.h |
| +++ b/cc/output/overlay_strategy_single_on_top.h |
| @@ -23,6 +23,14 @@ class CC_EXPORT OverlayStrategySingleOnTop : public OverlayProcessor::Strategy { |
| OverlayCandidateList* candidate_list) override; |
| private: |
| + bool IsOverlayQuad(const DrawQuad* draw_quad); |
| + bool GetCandidateQuadInfo(const DrawQuad& draw_quad, |
| + OverlayCandidate* quad_info); |
| + |
| + // Returns true if |draw_quad| will block quads underheath from becoming an |
|
danakj
2015/01/21 23:30:33
underneath
|
| + // overlay. |
| + bool QuadBlocksOverlay(const DrawQuad* draw_quad); |
|
danakj
2015/01/21 23:30:33
nit: start with a verb: DoesQuadBlockOverlay
achaulk
2015/01/23 20:10:55
Done.
|
| + |
| OverlayCandidateValidator* capability_checker_; |
| ResourceProvider* resource_provider_; |
| DISALLOW_COPY_AND_ASSIGN(OverlayStrategySingleOnTop); |