diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 04:45:45 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 04:45:45 +0000 |
commit | 4000abf6e302ba8ad6129b2e21e0261b197a561f (patch) | |
tree | a2e2f6131d620d29f2e8e304fe289b6921ac787d /cc/layer_impl.h | |
parent | 17b0006c5d67977ef7acb21fde2a2dc19dd4e32c (diff) | |
download | chromium_src-4000abf6e302ba8ad6129b2e21e0261b197a561f.zip chromium_src-4000abf6e302ba8ad6129b2e21e0261b197a561f.tar.gz chromium_src-4000abf6e302ba8ad6129b2e21e0261b197a561f.tar.bz2 |
Implement SkImageFilter support in the compositor.
Review URL: https://chromiumcodereview.appspot.com/11175009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_impl.h')
-rw-r--r-- | cc/layer_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/layer_impl.h b/cc/layer_impl.h index e9d8e87..05f3b44 100644 --- a/cc/layer_impl.h +++ b/cc/layer_impl.h @@ -110,6 +110,9 @@ public: void setBackgroundFilters(const WebKit::WebFilterOperations&); const WebKit::WebFilterOperations& backgroundFilters() const { return m_backgroundFilters; } + void setFilter(SkImageFilter*); + SkImageFilter* filter() const { return m_filter; } + void setMasksToBounds(bool); bool masksToBounds() const { return m_masksToBounds; } @@ -362,6 +365,7 @@ private: WebKit::WebFilterOperations m_filters; WebKit::WebFilterOperations m_backgroundFilters; + SkImageFilter* m_filter; WebKit::WebTransformationMatrix m_drawTransform; WebKit::WebTransformationMatrix m_screenSpaceTransform; |