Chromium Code Reviews| Index: cc/quads/render_pass_draw_quad.h |
| diff --git a/cc/quads/render_pass_draw_quad.h b/cc/quads/render_pass_draw_quad.h |
| index 28b58dbf4d15cbe066222b552a0b3b966fed020a..b4b0121ffd024d32e59acf8a3652096cbc03f921 100644 |
| --- a/cc/quads/render_pass_draw_quad.h |
| +++ b/cc/quads/render_pass_draw_quad.h |
| @@ -28,7 +28,8 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad { |
| const gfx::Rect& contents_changed_since_last_frame, |
| const gfx::RectF& mask_uv_rect, |
| const FilterOperations& filters, |
| - const FilterOperations& background_filters); |
| + const FilterOperations& background_filters, |
| + const gfx::Transform& scale); |
| void SetAll(const SharedQuadState* shared_quad_state, |
| const gfx::Rect& rect, |
| @@ -41,7 +42,8 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad { |
| const gfx::Rect& contents_changed_since_last_frame, |
| const gfx::RectF& mask_uv_rect, |
| const FilterOperations& filters, |
| - const FilterOperations& background_filters); |
| + const FilterOperations& background_filters, |
| + const gfx::Transform& scale); |
| scoped_ptr<RenderPassDrawQuad> Copy( |
| const SharedQuadState* copied_shared_quad_state, |
| @@ -59,6 +61,7 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad { |
| // Post-processing filters, applied to the pixels showing through the |
| // background of the render pass, from behind it. |
| FilterOperations background_filters; |
| + gfx::Transform scale; |
|
danakj
2014/03/07 17:35:44
Since you only care about the scale components, yo
Stephen White
2014/03/07 17:46:43
Yeah, that's probably a better idea.
danakj
2014/03/07 17:49:23
Oh actually, because this is a transform from the
danakj
2014/03/07 17:50:22
This is the full computation of the transform: htt
Stephen White
2014/03/07 20:45:58
Done.
Stephen White
2014/03/07 20:45:58
Done.
|
| virtual void IterateResources(const ResourceIteratorCallback& callback) |
| OVERRIDE; |