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

Unified Diff: cc/quads/render_pass_draw_quad.h

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Rebase again 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
« no previous file with comments | « cc/quads/render_pass.cc ('k') | cc/quads/render_pass_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ba1cf5aa41c0d107aaeca0f4113b90fd9462b6b2..01bce3ece8761d6aaec950f4c78d52a38de1bede 100644
--- a/cc/quads/render_pass_draw_quad.h
+++ b/cc/quads/render_pass_draw_quad.h
@@ -32,10 +32,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,
@@ -46,18 +44,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);
int 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
@@ -68,10 +61,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;
« no previous file with comments | « cc/quads/render_pass.cc ('k') | cc/quads/render_pass_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698