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

Unified Diff: cc/render_pass.h

Issue 11175009: Implement SkImageFilter support in the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated to ToT (past the Great Renaming) Created 8 years, 2 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/occlusion_tracker.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 ce0005e23167b8afb8552a6c310939b4bf3b5c19..076cfe4e8e4d1ba2aa9acda15779c6e8118b5cc5 100644
--- a/cc/render_pass.h
+++ b/cc/render_pass.h
@@ -18,6 +18,8 @@
#include <public/WebTransformationMatrix.h>
#include <vector>
+class SkImageFilter;
+
namespace cc {
class LayerImpl;
@@ -91,6 +93,9 @@ public:
const WebKit::WebFilterOperations& backgroundFilters() const { return m_backgroundFilters; }
void setBackgroundFilters(const WebKit::WebFilterOperations& filters) { m_backgroundFilters = filters; }
+ SkImageFilter* filter() const { return m_filter; }
+ void setFilter(SkImageFilter* filter);
+
bool hasTransparentBackground() const { return m_hasTransparentBackground; }
void setHasTransparentBackground(bool transparent) { m_hasTransparentBackground = transparent; }
@@ -109,6 +114,7 @@ protected:
bool m_hasOcclusionFromOutsideTargetSurface;
WebKit::WebFilterOperations m_filters;
WebKit::WebFilterOperations m_backgroundFilters;
+ SkImageFilter* m_filter;
DISALLOW_COPY_AND_ASSIGN(RenderPass);
};
« no previous file with comments | « cc/occlusion_tracker.cc ('k') | cc/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698