Home
last modified time | relevance | path

Searched refs:GrConvexPolyEffect (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/effects/
DGrConvexPolyEffect.cpp183 SkScalar fPrevEdges[3 * GrConvexPolyEffect::kMaxEdges];
188 const GrConvexPolyEffect& cpe = args.fFp.cast<GrConvexPolyEffect>(); in emitCode()
221 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>(); in onSetData()
231 const GrConvexPolyEffect& cpe = processor.cast<GrConvexPolyEffect>(); in GenKey()
239 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType type, const SkPath& path, in Create()
290 GrFragmentProcessor* GrConvexPolyEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& rect) { in Create()
297 GrConvexPolyEffect::~GrConvexPolyEffect() {} in ~GrConvexPolyEffect()
299 void GrConvexPolyEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { in onComputeInvariantOutput()
303 void GrConvexPolyEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps, in onGetGLSLProcessorKey()
308 GrGLSLFragmentProcessor* GrConvexPolyEffect::onCreateGLSLInstance() const { in onCreateGLSLInstance()
[all …]
DGrConvexPolyEffect.h24 class GrConvexPolyEffect : public GrFragmentProcessor {
46 return new GrConvexPolyEffect(edgeType, n, edges); in Create()
62 virtual ~GrConvexPolyEffect();
73 GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[]);
DGrRRectEffect.cpp685 return GrConvexPolyEffect::Create(edgeType, rrect.getBounds()); in Create()
696 return GrConvexPolyEffect::Create(edgeType, rrect.getBounds()); in Create()
761 return GrConvexPolyEffect::Create(edgeType, rrect.getBounds()); in Create()
/external/skia/gm/
Dconvexpolyeffect.cpp119 for (int i = 0; i < GrConvexPolyEffect::kMaxEdges; ++i) { in onOnceBeforeDraw()
120 SkScalar angle = 2 * SK_ScalarPI * i / GrConvexPolyEffect::kMaxEdges; in onOnceBeforeDraw()
190 SkAutoTUnref<GrFragmentProcessor> fp(GrConvexPolyEffect::Create(edgeType, p)); in onDraw()
236 SkAutoTUnref<GrFragmentProcessor> fp(GrConvexPolyEffect::Create(edgeType, rect)); in onDraw()
/external/skia/src/gpu/
DGrClipMaskManager.cpp250 fps[fpCnt] = GrConvexPolyEffect::Create(edgeType, iter.get()->getPath(), in getAnalyticClipProcessor()
262 fps[fpCnt] = GrConvexPolyEffect::Create(edgeType, rect); in getAnalyticClipProcessor()
/external/skia/gyp/
Dgpu.gypi262 '<(skia_src_path)/gpu/effects/GrConvexPolyEffect.cpp',
263 '<(skia_src_path)/gpu/effects/GrConvexPolyEffect.h',
/external/skia/
DAndroid.mk468 src/gpu/effects/GrConvexPolyEffect.cpp \