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

Unified Diff: cc/quads/render_pass_draw_quad.h

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Created 4 years 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: 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 851451b6209e477d99f4b4e79d270eb41a8d23ab..5a89556203db940b9891014e33d7f4417cf3e850 100644
--- a/cc/quads/render_pass_draw_quad.h
+++ b/cc/quads/render_pass_draw_quad.h
@@ -33,10 +33,8 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
ResourceId mask_resource_id,
const gfx::Vector2dF& mask_uv_scale,
const gfx::Size& mask_texture_size,
- const FilterOperations& filters,
const gfx::Vector2dF& filters_scale,
- const gfx::PointF& filters_origin,
- const FilterOperations& background_filters);
+ const gfx::PointF& filters_origin);
void SetAll(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
@@ -47,18 +45,13 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
ResourceId mask_resource_id,
const gfx::Vector2dF& mask_uv_scale,
const gfx::Size& mask_texture_size,
- const FilterOperations& filters,
const gfx::Vector2dF& filters_scale,
- const gfx::PointF& filters_origin,
- const FilterOperations& background_filters);
+ const gfx::PointF& filters_origin);
RenderPassId render_pass_id;
gfx::Vector2dF mask_uv_scale;
gfx::Size mask_texture_size;
- // Post-processing filters, applied to the pixels in the render pass' texture.
- FilterOperations filters;
-
// The scale from layer space of the root layer of the render pass to
// the render pass physical pixels. This scale is applied to the filter
// parameters for pixel-moving filters. This scale should include
@@ -69,10 +62,6 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
// crop rects, lights, etc.
gfx::PointF filters_origin;
- // Post-processing filters, applied to the pixels showing through the
- // background of the render pass, from behind it.
- FilterOperations background_filters;
-
// Helper function to generate the normalized uv rect.
gfx::RectF MaskUVRect() const;

Powered by Google App Engine
This is Rietveld 408576698