Index: cc/render_pass.h |
diff --git a/cc/render_pass.h b/cc/render_pass.h |
index 7a15df18cbf4fd91cb5a8913963094f1a3df7549..4b6daa348b2a5028e70c90ec7e47dee9a2387b26 100644 |
--- a/cc/render_pass.h |
+++ b/cc/render_pass.h |
@@ -17,6 +17,8 @@ |
#include <public/WebTransformationMatrix.h> |
#include <vector> |
+class SkImageFilter; |
+ |
namespace cc { |
class CCLayerImpl; |
@@ -90,6 +92,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; } |
danakj
2012/10/19 19:34:24
can we rename this to imageFilter()?
|
+ void setFilter(SkImageFilter* filter); |
+ |
bool hasTransparentBackground() const { return m_hasTransparentBackground; } |
void setHasTransparentBackground(bool transparent) { m_hasTransparentBackground = transparent; } |
@@ -108,6 +113,7 @@ protected: |
bool m_hasOcclusionFromOutsideTargetSurface; |
WebKit::WebFilterOperations m_filters; |
WebKit::WebFilterOperations m_backgroundFilters; |
+ SkImageFilter* m_filter; |
DISALLOW_COPY_AND_ASSIGN(CCRenderPass); |
}; |