diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-23 15:36:36 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-23 15:36:36 +0000 |
commit | 8926b169f6a0dfa4c2129a98ec2aee205f0c8527 (patch) | |
tree | 2a62dcf51d6ea24f395aab732db6c174cb152485 /include/core/SkCanvas.h | |
parent | c3a0d2e4c5e512443f7d37e8025d81fd94132e7a (diff) |
apply imagefilter to all draw calls
Review URL: https://codereview.appspot.com/5856048
git-svn-id: http://skia.googlecode.com/svn/trunk@3476 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 7ad88f64cc..5224217fdc 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -977,6 +977,7 @@ private: void updateDeviceCMCache(); friend class SkDrawIter; // needs setupDrawForLayerDevice() + friend class AutoDrawLooper; SkDevice* createLayerDevice(SkBitmap::Config, int width, int height, bool isOpaque); @@ -992,9 +993,10 @@ private: void internalDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, const SkPaint* paint); void internalDrawPaint(const SkPaint& paint); + int internalSaveLayer(const SkRect* bounds, const SkPaint* paint, + SaveFlags, bool justForImageFilter); + void internalDrawDevice(SkDevice*, int x, int y, const SkPaint*); - - void drawDevice(SkDevice*, int x, int y, const SkPaint*); // shared by save() and saveLayer() int internalSave(SaveFlags flags); void internalRestore(); |