10 #ifndef SkMaskFilter_DEFINED
11 #define SkMaskFilter_DEFINED
13 #include "SkBlurTypes.h"
14 #include "SkFlattenable.h"
17 #include "SkStrokeRec.h"
106 virtual bool canFilterMaskGPU(
const SkRRect& devRRect,
121 const SkPath& path)
const;
126 virtual bool directFilterRRectMaskGPU(
GrContext*,
133 const SkRRect& devRRect)
const;
142 virtual bool filterMaskGPU(
GrTexture* src,
159 virtual void computeFastBounds(
const SkRect& src,
SkRect* dest)
const;
164 SkBlurQuality fQuality;
171 virtual bool asABlur(
BlurRec*)
const;
173 SK_TO_STRING_PUREVIRT()
182 kUnimplemented_FilterReturn
193 SkCachedData* fCache;
211 virtual FilterReturn filterRectsToNine(
const SkRect[],
int count,
218 virtual FilterReturn filterRRectToNine(
const SkRRect&,
const SkMatrix&,
230 bool filterPath(
const SkPath& devPath,
const SkMatrix& ctm,
const SkRasterClip&, SkBlitter*,
231 SkStrokeRec::InitStyle)
const;
237 bool filterRRect(
const SkRRect& devRRect,
const SkMatrix& ctm,
const SkRasterClip&,
Definition: SkMaskFilter.h:161
Provides custom fragment shader code.
Definition: GrFragmentProcessor.h:24
The SkRRect class represents a rounded rect with a potentially different radii for each corner...
Definition: SkRRect.h:48
The SkPath class encapsulates compound (multiple contour) geometric paths consisting of straight line...
Definition: SkPath.h:27
Definition: SkStrokeRec.h:16
Definition: GrTextureProvider.h:16
The SkMatrix class holds a 3x3 matrix for transforming coordinates.
Definition: SkMatrix.h:26
Definition: SkRefCnt.h:135
SkMask is used to describe alpha bitmaps, either 1bit, 8bit, or the 3-channel 3D format.
Definition: SkMask.h:19
GrClip is an abstract base class for applying a clip.
Definition: GrClip.h:22
SkFlattenable is the base class for objects that need to be flattened into a data stream for either t...
Definition: SkFlattenable.h:70
The SkBitmap class specifies a raster bitmap.
Definition: SkBitmap.h:41
Definition: GrDrawContext.h:51
SkMaskFilter is the base class for object that perform transformations on an alpha-channel mask befor...
Definition: SkMaskFilter.h:44
Definition: GrContext.h:48
The paint describes how color and coverage are computed at each pixel by GrContext draw functions and...
Definition: GrPaint.h:41
Format
Definition: SkMask.h:22
Definition: SkMaskFilter.h:185
GrRenderTarget represents a 2D buffer of pixels that can be rendered to.
Definition: GrRenderTarget.h:26
SkIRect holds four 32 bit integer coordinates for a rectangle.
Definition: SkRect.h:20
Definition: GrTexture.h:19
SkIPoint holds two 32 bit integer coordinates.
Definition: SkPoint.h:40