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

Unified Diff: ui/ozone/public/overlay_candidates_ozone.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: Rebase Created 5 years, 3 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
Index: ui/ozone/public/overlay_candidates_ozone.h
diff --git a/ui/ozone/public/overlay_candidates_ozone.h b/ui/ozone/public/overlay_candidates_ozone.h
index 23db7916d4d5cc9e52b0cfcd4561a9a6d124bc22..bc6b237fa43edd6a1739f9e277376fe628c307f4 100644
--- a/ui/ozone/public/overlay_candidates_ozone.h
+++ b/ui/ozone/public/overlay_candidates_ozone.h
@@ -35,6 +35,12 @@ class OZONE_BASE_EXPORT OverlayCandidatesOzone {
gfx::RectF display_rect;
// Crop within the buffer to be placed inside |display_rect|.
gfx::RectF crop_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;
// Stacking order of the overlay plane relative to the main surface,
// which is 0. Signed to allow for "underlays".
int plane_z_order = 0;
« no previous file with comments | « ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc ('k') | ui/ozone/public/overlay_candidates_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698