Home
last modified time | relevance | path

Searched refs:miterCapHeightOverWidth (Results 1 – 3 of 3) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp461 float miterCapHeightOverWidth = miterCapHeight / miterCapWidth; in recordLeftJoinIfNotEmpty() local
467 Sk2f heights = SkNx_fma(r, Sk2f(miterCapHeightOverWidth, -SK_ScalarRoot2Over2), Sk2f(0, 1)); in recordLeftJoinIfNotEmpty()
477 this->recordRoundJoin(joinVerb, miterCapHeightOverWidth, w); in recordLeftJoinIfNotEmpty()
490 void GrCCStrokeGeometry::recordMiterJoin(float miterCapHeightOverWidth) { in recordMiterJoin() argument
492 fParams.push_back().fMiterCapHeightOverWidth = miterCapHeightOverWidth; in recordMiterJoin()
496 void GrCCStrokeGeometry::recordRoundJoin(Verb joinVerb, float miterCapHeightOverWidth, in recordRoundJoin() argument
500 fParams.push_back().fMiterCapHeightOverWidth = miterCapHeightOverWidth; in recordRoundJoin()
DGrCCStrokeGeometry.h115 void recordMiterJoin(float miterCapHeightOverWidth);
116 void recordRoundJoin(Verb roundJoinVerb, float miterCapHeightOverWidth, float conicWeight);
DGrCCStroker.cpp426 const SkVector& rightNorm, float miterCapHeightOverWidth, float conicWeight) { in appendJoin() argument
463 SkASSERT(miterCapHeightOverWidth >= 0 || SkScalarIsNaN(miterCapHeightOverWidth)); in appendJoin()
466 Sk2f c = (n0 + n1) * .5f + baseNorm * miterCapHeightOverWidth; in appendJoin()
613 float miterCapHeightOverWidth=0, conicWeight=0; in prepareToDraw() local
643 miterCapHeightOverWidth = params[paramsIdx++].fMiterCapHeightOverWidth; in prepareToDraw()
648 miterCapHeightOverWidth, conicWeight); in prepareToDraw()