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

Unified Diff: cc/output/overlay_processor.h

Issue 2693023002: Use SwapBuffersWithBounds on Chromecast (Closed)
Patch Set: danakj nits Created 3 years, 10 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 | « cc/output/output_surface_frame.h ('k') | cc/output/overlay_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_processor.h
diff --git a/cc/output/overlay_processor.h b/cc/output/overlay_processor.h
index b8957052967e07a1d41363ff4fa1e9b07789e7d7..99190da20ef53b66bf5daf4a6270fc55c315a0a3 100644
--- a/cc/output/overlay_processor.h
+++ b/cc/output/overlay_processor.h
@@ -28,7 +28,8 @@ class CC_EXPORT OverlayProcessor {
// |render_passes|.
virtual bool Attempt(ResourceProvider* resource_provider,
RenderPass* render_pass,
- OverlayCandidateList* candidates) = 0;
+ OverlayCandidateList* candidates,
+ std::vector<gfx::Rect>* content_bounds) = 0;
};
using StrategyList = std::vector<std::unique_ptr<Strategy>>;
@@ -48,7 +49,8 @@ class CC_EXPORT OverlayProcessor {
const RenderPassFilterList& render_pass_background_filters,
OverlayCandidateList* overlay_candidates,
CALayerOverlayList* ca_layer_overlays,
- gfx::Rect* damage_rect);
+ gfx::Rect* damage_rect,
+ std::vector<gfx::Rect>* content_bounds);
protected:
StrategyList strategies_;
« no previous file with comments | « cc/output/output_surface_frame.h ('k') | cc/output/overlay_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698