Searched refs:strokeInfo (Results 1 - 5 of 5) sorted by relevance

/external/skia/src/gpu/effects/
H A DGrDashingEffect.h25 const GrStrokeInfo& strokeInfo);
26 bool CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo,
H A DGrDashingEffect.cpp32 bool GrDashingEffect::CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo, argument
45 if (!strokeInfo.isDashed() || 2 != strokeInfo.getDashCount()) {
49 const SkScalar* intervals = strokeInfo.getDashIntervals();
54 SkPaint::Cap cap = strokeInfo.getStrokeRec().getCap();
683 bool useAA, const GrStrokeInfo& strokeInfo, bool msaaRT) {
684 const SkScalar* intervals = strokeInfo.getDashIntervals();
685 SkScalar phase = strokeInfo.getDashPhase();
687 SkPaint::Cap cap = strokeInfo.getStrokeRec().getCap();
690 geometry.fSrcStrokeWidth = strokeInfo
682 create_batch(GrColor color, const SkMatrix& viewMatrix, const SkPoint pts[2], bool useAA, const GrStrokeInfo& strokeInfo, bool msaaRT) argument
735 DrawDashLine(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, const SkPoint pts[2], bool useAA, const GrStrokeInfo& strokeInfo) argument
[all...]
/external/skia/src/gpu/
H A DGrContext.cpp581 const GrStrokeInfo* strokeInfo) {
583 if (strokeInfo && strokeInfo->isDashed()) {
586 this->drawPath(rt, clip, paint, viewMatrix, path, *strokeInfo);
598 SkScalar width = NULL == strokeInfo ? -1 : strokeInfo->getStrokeRec().getWidth();
642 const SkStrokeRec& strokeRec = strokeInfo->getStrokeRec();
1041 const GrStrokeInfo& strokeInfo) {
1047 if (strokeInfo.isDashed()) {
1050 this->drawPath(rt, clip, paint, viewMatrix, path, strokeInfo);
576 drawRect(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rect, const GrStrokeInfo* strokeInfo) argument
1036 drawRRect(GrRenderTarget*rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRRect& rrect, const GrStrokeInfo& strokeInfo) argument
1120 drawOval(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& oval, const GrStrokeInfo& strokeInfo) argument
1217 drawPath(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& strokeInfo) argument
1282 internalDrawPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, GrColor color, bool useAA, const SkPath& path, const GrStrokeInfo& strokeInfo) argument
[all...]
H A DSkGpuDevice.cpp381 GrStrokeInfo strokeInfo(paint, SkPaint::kStroke_Style);
391 fContext->drawPath(fRenderTarget, fClip, grPaint, *draw.fMatrix, path, strokeInfo);
461 GrStrokeInfo strokeInfo(paint);
464 if (!usePath && pe && !strokeInfo.isDashed()) {
481 fContext->drawRect(fRenderTarget, fClip, grPaint, *draw.fMatrix, rect, &strokeInfo);
497 GrStrokeInfo strokeInfo(paint);
520 strokeInfo.getStrokeRec(),
537 if (pe && !strokeInfo.isDashed()) {
551 fContext->drawRRect(fRenderTarget, fClip, grPaint, *draw.fMatrix, rect, strokeInfo);
592 GrStrokeInfo strokeInfo(pain
705 create_mask_GPU(GrContext* context, GrRenderTarget* rt, const SkRect& maskRect, const SkPath& devPath, const GrStrokeInfo& strokeInfo, bool doAA, int sampleCnt) argument
[all...]
/external/skia/include/gpu/
H A DGrContext.h244 * @param strokeInfo the stroke information (width, join, cap), and.
246 * If strokeInfo == NULL, then the rect is filled.
257 const GrStrokeInfo* strokeInfo = NULL);
295 * @param strokeInfo the stroke information (width, join, cap) and
329 * @param strokeInfo the stroke information (width, join, cap) and
374 * @param strokeInfo the stroke information (width, join, cap) and
382 const GrStrokeInfo& strokeInfo);

Completed in 590 milliseconds