diff options
Diffstat (limited to 'include/effects/SkTestImageFilters.h')
-rwxr-xr-x | include/effects/SkTestImageFilters.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/effects/SkTestImageFilters.h b/include/effects/SkTestImageFilters.h index 2a3178e62c..c38c03793b 100755 --- a/include/effects/SkTestImageFilters.h +++ b/include/effects/SkTestImageFilters.h @@ -22,40 +22,6 @@ private: typedef SkImageFilter INHERITED; }; -#include "SkXfermode.h" - -class SK_API SkMergeImageFilter : public SkImageFilter { -public: - SkMergeImageFilter(SkImageFilter* first, SkImageFilter* second, - SkXfermode::Mode = SkXfermode::kSrcOver_Mode); - SkMergeImageFilter(SkImageFilter* filters[], int count, - const SkXfermode::Mode modes[] = NULL); - virtual ~SkMergeImageFilter(); - - SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMergeImageFilter) - -protected: - SkMergeImageFilter(SkFlattenableReadBuffer& buffer); - virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; - - virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, - SkBitmap* result, SkIPoint* loc) SK_OVERRIDE; - virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) SK_OVERRIDE; - -private: - uint8_t* fModes; // SkXfermode::Mode - int fCount; - - // private storage, to avoid dynamically allocating storage for our copy - // of the filters and modes (unless fCount is so large we can't fit). - intptr_t fStorage[16]; - - void initAllocModes(); - void initModes(const SkXfermode::Mode []); - - typedef SkImageFilter INHERITED; -}; - /////////////////////////////////////////////////////////////////////////////// // Fun mode that scales down (only) and then scales back up to look pixelated |