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

Unified Diff: cc/render_pass.h

Issue 11618026: Move filters to RenderPassDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/render_pass.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/render_pass.h
diff --git a/cc/render_pass.h b/cc/render_pass.h
index 3d100d9ccdf6ff9d86f4087953e554a7380d6fac..e5275f51bdc2a63b1e823919363b7c7ff385de59 100644
--- a/cc/render_pass.h
+++ b/cc/render_pass.h
@@ -74,10 +74,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 +94,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;
@@ -139,8 +126,8 @@ struct hash<cc::RenderPass::Id> {
}
namespace cc {
-typedef std::vector<RenderPass*> RenderPassList;
-typedef ScopedPtrHashMap<RenderPass::Id, RenderPass> RenderPassIdHashMap;
+typedef ScopedPtrVector<RenderPass> RenderPassList;
+typedef base::hash_map<RenderPass::Id, RenderPass*> RenderPassIdHashMap;
} // namespace cc
#endif // CC_RENDER_PASS_H_
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698