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

Unified Diff: cc/output/dc_layer_overlay.h

Issue 2931833005: Split DCLayerOverlayProcessor::Process into three functions. (Closed)
Patch Set: rebase Created 3 years, 6 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/dc_layer_overlay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/dc_layer_overlay.h
diff --git a/cc/output/dc_layer_overlay.h b/cc/output/dc_layer_overlay.h
index 6daeedc02e71ee8a9166823f4ff8be84e594313e..cd5976f511200a4a324ec776df282327e2713b6b 100644
--- a/cc/output/dc_layer_overlay.h
+++ b/cc/output/dc_layer_overlay.h
@@ -96,6 +96,20 @@ class DCLayerOverlayProcessor {
QuadList::ConstIterator quad_list_begin,
QuadList::ConstIterator quad,
DCLayerOverlay* ca_layer_overlay);
+ bool ProcessForOverlay(const gfx::RectF& display_rect,
+ QuadList* quad_list,
+ const gfx::Rect& quad_rectangle,
+ const gfx::RectF& occlusion_bounding_box,
+ const QuadList::Iterator& it,
+ gfx::Rect* damage_rect);
+ bool ProcessForUnderlay(const gfx::RectF& display_rect,
+ QuadList* quad_list,
+ const gfx::Rect& quad_rectangle,
+ const gfx::RectF& occlusion_bounding_box,
+ const QuadList::Iterator& it,
+ gfx::Rect* damage_rect,
+ gfx::Rect* this_frame_underlay_rect,
+ DCLayerOverlay* dc_layer);
gfx::Rect previous_frame_underlay_rect_;
gfx::Rect previous_occlusion_bounding_box_;
« no previous file with comments | « no previous file | cc/output/dc_layer_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698