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

Unified Diff: cc/render_pass.h

Issue 11618026: Move filters to RenderPassDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/render_pass.h
diff --git a/cc/render_pass.h b/cc/render_pass.h
index a7e685f72d307b0fd721cfa2d89feaaddd894b8f..2159387525ffc87cc465008acafde3cf152b78d6 100644
--- a/cc/render_pass.h
+++ b/cc/render_pass.h
@@ -5,7 +5,6 @@
#ifndef CC_RENDER_PASS_H_
#define CC_RENDER_PASS_H_
-#include <public/WebFilterOperations.h>
#include <vector>
#include "base/basictypes.h"
@@ -74,10 +73,7 @@ class CC_EXPORT RenderPass {
gfx::RectF damage_rect,
const gfx::Transform& transform_to_root_target,
bool has_transparent_background,
- bool has_occlusion_from_outside_target_surface,
- const WebKit::WebFilterOperations& filters,
- const skia::RefPtr<SkImageFilter>& filter,
- const WebKit::WebFilterOperations& background_filters);
+ bool has_occlusion_from_outside_target_surface);
// Uniquely identifies the render pass in the compositor's current frame.
Id id;
@@ -97,16 +93,6 @@ class CC_EXPORT RenderPass {
// complete, since they are occluded.
bool has_occlusion_from_outside_target_surface;
- // Deprecated post-processing filters, applied to the pixels in the render
- // pass' texture.
- WebKit::WebFilterOperations 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.
- WebKit::WebFilterOperations background_filters;
-
QuadList quad_list;
SharedQuadStateList shared_quad_state_list;

Powered by Google App Engine
This is Rietveld 408576698