Home
last modified time | relevance | path

Searched refs:strokeInfo (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/
DGrBlurUtils.cpp99 const GrStrokeInfo& strokeInfo, in create_mask_GPU() argument
145 drawContext->drawPath(clip, tempPaint, translate, devPath, strokeInfo); in create_mask_GPU()
164 GrStrokeInfo strokeInfo(origStrokeInfo); in draw_path_with_mask_filter() local
168 SkASSERT(strokeInfo.isDashed() || !pathEffect); in draw_path_with_mask_filter()
170 if (!strokeInfo.isHairlineStyle()) { in draw_path_with_mask_filter()
172 if (strokeInfo.isDashed()) { in draw_path_with_mask_filter()
173 if (pathEffect->filterPath(strokedPath, *pathPtr, &strokeInfo, cullRect)) { in draw_path_with_mask_filter()
178 strokeInfo.removeDash(); in draw_path_with_mask_filter()
180 if (strokeInfo.applyToPath(strokedPath, *pathPtr)) { in draw_path_with_mask_filter()
185 strokeInfo.setFillStyle(); in draw_path_with_mask_filter()
[all …]
DGrDrawContext.cpp255 const GrStrokeInfo* strokeInfo) { in drawRect() argument
262 SkASSERT(!strokeInfo || !strokeInfo->isDashed()); in drawRect()
266 SkScalar width = nullptr == strokeInfo ? -1 : strokeInfo->getWidth(); in drawRect()
311 *strokeInfo)); in drawRect()
326 this->internalDrawPath(&pipelineBuilder, viewMatrix, color, true, path, *strokeInfo); in drawRect()
480 const GrStrokeInfo& strokeInfo) { in drawRRect() argument
490 SkASSERT(!strokeInfo.isDashed()); // this should've been devolved to a path in SkGpuDevice in drawRRect()
503 strokeInfo, in drawRRect()
515 paint.isAntiAlias(), path, strokeInfo); in drawRRect()
524 const GrStrokeInfo& strokeInfo) { in drawOval() argument
[all …]
DGrTestUtils.cpp243 GrStrokeInfo strokeInfo(style); in TestStrokeInfo() local
244 randomize_stroke_rec(&strokeInfo, random); in TestStrokeInfo()
255 strokeInfo.setDashInfo(dashInfo); in TestStrokeInfo()
257 return strokeInfo; in TestStrokeInfo()
DSkGpuDevice.cpp413 GrStrokeInfo strokeInfo(paint, SkPaint::kStroke_Style); in drawPoints() local
422 fDrawContext->drawPath(fClip, grPaint, *draw.fMatrix, path, strokeInfo); in drawPoints()
492 GrStrokeInfo strokeInfo(paint); in drawRect() local
494 fDrawContext->drawRect(fClip, grPaint, *draw.fMatrix, rect, &strokeInfo); in drawRect()
511 GrStrokeInfo strokeInfo(paint); in drawRRect() local
534 strokeInfo, in drawRRect()
558 SkASSERT(!strokeInfo.isDashed()); in drawRRect()
560 fDrawContext->drawRRect(fClip, grPaint, *draw.fMatrix, rect, strokeInfo); in drawRRect()
687 GrStrokeInfo strokeInfo(paint); in drawOval() local
688 SkASSERT(!strokeInfo.isDashed()); in drawOval()
[all …]
/external/skia/src/gpu/effects/
DGrDashingEffect.h25 const GrStrokeInfo& strokeInfo);
26 bool CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo,
DGrDashingEffect.cpp34 bool GrDashingEffect::CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo, in CanDrawDashLine() argument
47 if (!strokeInfo.isDashed() || 2 != strokeInfo.getDashCount()) { in CanDrawDashLine()
51 const SkScalar* intervals = strokeInfo.getDashIntervals(); in CanDrawDashLine()
56 SkPaint::Cap cap = strokeInfo.getCap(); in CanDrawDashLine()
697 bool useAA, const GrStrokeInfo& strokeInfo, bool msaaRT) { in create_batch() argument
698 const SkScalar* intervals = strokeInfo.getDashIntervals(); in create_batch()
699 SkScalar phase = strokeInfo.getDashPhase(); in create_batch()
701 SkPaint::Cap cap = strokeInfo.getCap(); in create_batch()
704 geometry.fSrcStrokeWidth = strokeInfo.getWidth(); in create_batch()
752 bool useAA, const GrStrokeInfo& strokeInfo) { in DrawDashLine() argument
[all …]
/external/skia/include/gpu/
DGrDrawContext.h103 const GrStrokeInfo* strokeInfo = NULL);
218 const GrStrokeInfo& strokeInfo);
/external/skia/src/gpu/batches/
DGrTessellatingPathRenderer.cpp290 GrStrokeInfo strokeInfo = GrTest::TestStrokeInfo(random); in DRAW_BATCH_TEST_DEFINE() local
291 return TessellatingPathBatch::Create(color, path, strokeInfo, viewMatrix, clipBounds); in DRAW_BATCH_TEST_DEFINE()