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

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') | no next file with comments »
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..2154c865258a7bac8d5d9fc02620d087350ca70f 100644
--- a/cc/output/overlay_candidate.h
+++ b/cc/output/overlay_candidate.h
@@ -41,6 +41,13 @@ class CC_EXPORT OverlayCandidate {
gfx::RectF display_rect;
// Crop within the buffer to be placed inside |display_rect|.
gfx::RectF uv_rect;
+
+ // Original visible area of the quad
danakj 2015/08/28 22:48:10 period at the end can you explain what you mean b
william.xie1 2015/08/28 23:18:42 Hi Dana, Thanks for your comments. My previous me
+ gfx::Rect original_visible_rect;
+
+ // Actual visible area of the quad
danakj 2015/08/28 22:48:09 ditto
+ gfx::Rect actual_visible_rect;
+
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698