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

Unified Diff: cc/quads/render_pass.h

Issue 1044093005: Preliminary compositor disabling patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove renderpass calculation Created 5 years, 8 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/quads/draw_quad.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/render_pass.h
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h
index 46a8084b387da41a0be55d0974a4bd3c38372a20..d96b61ea0c0203fb442d22155245359c8c5bbfca 100644
--- a/cc/quads/render_pass.h
+++ b/cc/quads/render_pass.h
@@ -74,6 +74,7 @@ class CC_EXPORT RenderPass {
void SetAll(RenderPassId id,
const gfx::Rect& output_rect,
const gfx::Rect& damage_rect,
+ const gfx::Rect& overlay_rect,
const gfx::Transform& transform_to_root_target,
bool has_transparent_background);
@@ -93,12 +94,15 @@ class CC_EXPORT RenderPass {
DrawQuad* CopyFromAndAppendDrawQuad(const DrawQuad* quad,
const SharedQuadState* shared_quad_state);
+ gfx::Rect GetFullDamageRect();
+
// Uniquely identifies the render pass in the compositor's current frame.
RenderPassId id;
// These are in the space of the render pass' physical pixels.
gfx::Rect output_rect;
gfx::Rect damage_rect;
+ gfx::Rect overlay_rect;
// Transforms from the origin of the |output_rect| to the origin of the root
// render pass' |output_rect|.
« no previous file with comments | « cc/quads/draw_quad.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698