Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4174)

Unified Diff: cc/output/overlay_candidate.h

Issue 1311013002: [Ozone] Fix SingleOnTop issue by checking if the quad is clipped. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/output/overlay_strategy_common.cc » ('j') | cc/output/overlay_strategy_common.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_candidate.h
diff --git a/cc/output/overlay_candidate.h b/cc/output/overlay_candidate.h
index b3e7fb359f19e4b7e6a1d15ace9f5cc3046c97c9..e3070fb41800aff15a2429095999eff5fdde8384 100644
--- a/cc/output/overlay_candidate.h
+++ b/cc/output/overlay_candidate.h
@@ -41,6 +41,16 @@ class CC_EXPORT OverlayCandidate {
gfx::RectF display_rect;
// Crop within the buffer to be placed inside |display_rect|.
gfx::RectF uv_rect;
+
danakj 2015/08/31 22:11:47 don't add whitespace between each one? the old fie
william.xie1 2015/09/01 03:40:33 Done.
+ // Quad geometry rect after applying the quad_transform().
+ gfx::RectF geometry_rect;
danakj 2015/08/31 22:11:47 call this quad_rect_in_target_space?
danakj 2015/08/31 22:11:47 can you make this a Rect
william.xie1 2015/09/01 03:40:33 Done.
+
+ // Clip rect in the target content space after composition.
+ gfx::Rect clip_rect;
+
+ // If the quad is clipped after composition.
+ bool is_clipped;
+
// Texture resource to present in an overlay.
unsigned resource_id;
// Stacking order of the overlay plane relative to the main surface,
« no previous file with comments | « no previous file | cc/output/overlay_strategy_common.cc » ('j') | cc/output/overlay_strategy_common.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698