diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 22:16:36 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 22:16:36 +0000 |
commit | 2006204757b9a4e28175bd0543bbd522fdc5cd73 (patch) | |
tree | 3fbf6c7958e78f6729c5f188021e7e3db0e4bc61 /cc/render_pass.h | |
parent | 6ed915639ee0007b110bd5e3c3b490a7259dd36d (diff) | |
download | chromium_src-2006204757b9a4e28175bd0543bbd522fdc5cd73.zip chromium_src-2006204757b9a4e28175bd0543bbd522fdc5cd73.tar.gz chromium_src-2006204757b9a4e28175bd0543bbd522fdc5cd73.tar.bz2 |
Move filters to RenderPassDrawQuad
BUG=123444
Review URL: https://chromiumcodereview.appspot.com/11618026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/render_pass.h')
-rw-r--r-- | cc/render_pass.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/cc/render_pass.h b/cc/render_pass.h index 3d100d9..e5275f5 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_ |