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

Unified Diff: cc/quads/render_pass_draw_quad.h

Issue 21154002: Add support for converting cc::FilterOperations into an SkImageFilter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 3 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_unittest.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 e253dec430b4dfe9683ac983f8e739974fdc9665..8546c45621c164737602356f3a37c2cfaf165630 100644
--- a/cc/quads/render_pass_draw_quad.h
+++ b/cc/quads/render_pass_draw_quad.h
@@ -28,7 +28,6 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
gfx::Rect contents_changed_since_last_frame,
gfx::RectF mask_uv_rect,
const FilterOperations& filters,
- skia::RefPtr<SkImageFilter> filter,
const FilterOperations& background_filters);
void SetAll(const SharedQuadState* shared_quad_state,
@@ -42,7 +41,6 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
gfx::Rect contents_changed_since_last_frame,
gfx::RectF mask_uv_rect,
const FilterOperations& filters,
- skia::RefPtr<SkImageFilter> filter,
const FilterOperations& background_filters);
scoped_ptr<RenderPassDrawQuad> Copy(
@@ -55,11 +53,8 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
gfx::Rect contents_changed_since_last_frame;
gfx::RectF mask_uv_rect;
- // Deprecated post-processing filters, applied to the pixels in the render
- // pass' texture.
+ // Post-processing filters, applied to the pixels in the render pass' texture.
FilterOperations filters;
- // Post-processing filter applied to the pixels in the render pass' texture.
- skia::RefPtr<SkImageFilter> filter;
// Post-processing filters, applied to the pixels showing through the
// background of the render pass, from behind it.
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/render_pass_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698