Chromium Code Reviews| Index: cc/output/overlay_candidate.h |
| diff --git a/cc/output/overlay_candidate.h b/cc/output/overlay_candidate.h |
| index b3e7fb359f19e4b7e6a1d15ace9f5cc3046c97c9..20326f658b1902f4ea9f03c6eb432927646c01a9 100644 |
| --- a/cc/output/overlay_candidate.h |
| +++ b/cc/output/overlay_candidate.h |
| @@ -41,12 +41,17 @@ class CC_EXPORT OverlayCandidate { |
| gfx::RectF display_rect; |
| // Crop within the buffer to be placed inside |display_rect|. |
| gfx::RectF uv_rect; |
| + // Quad geometry rect after applying the quad_transform(). |
| + gfx::Rect quad_rect_in_target_space; |
| + // Clip rect in the target content space after composition. |
| + gfx::Rect clip_rect; |
| + // If the quad is clipped after composition. |
| + bool is_clipped; |
|
danakj
2015/09/01 20:35:24
you need to initialize this in the constructor
william.xie1
2015/09/01 21:50:12
Done.
|
| // Texture resource to present in an overlay. |
| unsigned resource_id; |
| // Stacking order of the overlay plane relative to the main surface, |
| // which is 0. Signed to allow for "underlays". |
| int plane_z_order; |
| - |
|
danakj
2015/09/01 20:35:24
leave this
william.xie1
2015/09/01 21:50:12
Done.
|
| // To be modified by the implementer if this candidate can go into |
| // an overlay. |
| bool overlay_handled; |