/external/skia/src/gpu/ops/ |
GrDefaultPathRenderer.cpp | 15 #include "GrPathUtils.h" 103 this->needSpace(GrPathUtils::kMaxPointsPerCurve, 104 GrPathUtils::kMaxPointsPerCurve * this->indexScale()); 108 uint16_t numPts = (uint16_t)GrPathUtils::generateQuadraticPoints( 110 GrPathUtils::quadraticPointCount(pts, srcSpaceTol)); 128 this->needSpace(GrPathUtils::kMaxPointsPerCurve, 129 GrPathUtils::kMaxPointsPerCurve * this->indexScale()); 133 uint16_t numPts = (uint16_t) GrPathUtils::generateCubicPoints( 135 GrPathUtils::cubicPointCount(pts, srcSpaceTol)); 224 static const int kMinVerticesPerChunk = GrPathUtils::kMaxPointsPerCurve + 2 [all...] |
GrTessellatingPathRenderer.cpp | 16 #include "GrPathUtils.h" 259 SkScalar tol = GrPathUtils::kDefaultTolerance; 260 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); 298 SkScalar tol = GrPathUtils::kDefaultTolerance;
|
GrAAHairLinePathRenderer.cpp | 16 #include "GrPathUtils.h" 178 static const SkScalar gDegenerateToLineTol = GrPathUtils::kDefaultTolerance; 390 GrPathUtils::scaleToleranceToSrc(SK_Scalar1, m, path.getBounds()); 391 GrPathUtils::convertCubicToQuads(pathPts, tolScale, &q); 393 GrPathUtils::convertCubicToQuads(devPts, SK_Scalar1, &q); 514 GrPathUtils::QuadUVMatrix DevToUV(qpts); 597 // k, l, m are calculated in function GrPathUtils::getConicKLM 602 GrPathUtils::getConicKLM(p, weight, &klm); [all...] |
GrMSAAPathRenderer.cpp | 16 #include "GrPathUtils.h" 287 SkScalar tolerance = GrPathUtils::scaleToleranceToSrc(kTolerance, m, path.getBounds()); 317 GrPathUtils::convertCubicToQuads(pts, tolerance, &quadPts); 506 const SkScalar tolerance = GrPathUtils::scaleToleranceToSrc(kTolerance, m, 553 GrPathUtils::convertCubicToQuads(pts, tolerance, &quadPts);
|
GrAAConvexTessellator.cpp | 13 #include "GrPathUtils.h" [all...] |
GrAAConvexPathRenderer.cpp | 17 #include "GrPathUtils.h" 256 GrPathUtils::convertCubicToQuadsConstrainToTangents(pts, SK_Scalar1, dir, &quads); 502 GrPathUtils::QuadUVMatrix toUV(qpts); [all...] |
/external/skqp/src/gpu/ops/ |
GrDefaultPathRenderer.cpp | 15 #include "GrPathUtils.h" 103 this->needSpace(GrPathUtils::kMaxPointsPerCurve, 104 GrPathUtils::kMaxPointsPerCurve * this->indexScale()); 108 uint16_t numPts = (uint16_t)GrPathUtils::generateQuadraticPoints( 110 GrPathUtils::quadraticPointCount(pts, srcSpaceTol)); 128 this->needSpace(GrPathUtils::kMaxPointsPerCurve, 129 GrPathUtils::kMaxPointsPerCurve * this->indexScale()); 133 uint16_t numPts = (uint16_t) GrPathUtils::generateCubicPoints( 135 GrPathUtils::cubicPointCount(pts, srcSpaceTol)); 224 static const int kMinVerticesPerChunk = GrPathUtils::kMaxPointsPerCurve + 2 [all...] |
GrTessellatingPathRenderer.cpp | 16 #include "GrPathUtils.h" 259 SkScalar tol = GrPathUtils::kDefaultTolerance; 260 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); 298 SkScalar tol = GrPathUtils::kDefaultTolerance;
|
GrAAHairLinePathRenderer.cpp | 16 #include "GrPathUtils.h" 178 static const SkScalar gDegenerateToLineTol = GrPathUtils::kDefaultTolerance; 390 GrPathUtils::scaleToleranceToSrc(SK_Scalar1, m, path.getBounds()); 391 GrPathUtils::convertCubicToQuads(pathPts, tolScale, &q); 393 GrPathUtils::convertCubicToQuads(devPts, SK_Scalar1, &q); 514 GrPathUtils::QuadUVMatrix DevToUV(qpts); 597 // k, l, m are calculated in function GrPathUtils::getConicKLM 602 GrPathUtils::getConicKLM(p, weight, &klm); [all...] |
GrMSAAPathRenderer.cpp | 16 #include "GrPathUtils.h" 287 SkScalar tolerance = GrPathUtils::scaleToleranceToSrc(kTolerance, m, path.getBounds()); 317 GrPathUtils::convertCubicToQuads(pts, tolerance, &quadPts); 506 const SkScalar tolerance = GrPathUtils::scaleToleranceToSrc(kTolerance, m, 553 GrPathUtils::convertCubicToQuads(pts, tolerance, &quadPts);
|
GrAAConvexTessellator.cpp | 13 #include "GrPathUtils.h" [all...] |
/external/skia/bench/ |
CubicKLMBench.cpp | 12 #include "GrPathUtils.h" 51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
|
/external/skqp/bench/ |
CubicKLMBench.cpp | 12 #include "GrPathUtils.h" 51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
|
/external/skia/src/gpu/ |
GrPathUtils.cpp | 8 #include "GrPathUtils.h" 16 SkScalar GrPathUtils::scaleToleranceToSrc(SkScalar devTol, 41 uint32_t GrPathUtils::quadraticPointCount(const SkPoint points[], SkScalar tol) { 72 uint32_t GrPathUtils::generateQuadraticPoints(const SkPoint& p0, 97 uint32_t GrPathUtils::cubicPointCount(const SkPoint points[], 128 uint32_t GrPathUtils::generateCubicPoints(const SkPoint& p0, 158 int GrPathUtils::worstCasePointCount(const SkPath& path, int* subpaths, SkScalar tol) { 205 void GrPathUtils::QuadUVMatrix::set(const SkPoint qPts[3]) { 320 void GrPathUtils::getConicKLM(const SkPoint p[3], const SkScalar weight, SkMatrix* out) { 540 void GrPathUtils::convertCubicToQuads(const SkPoint p[4] [all...] |
GrPathUtils.h | 21 namespace GrPathUtils {
|
/external/skqp/src/gpu/ |
GrPathUtils.cpp | 8 #include "GrPathUtils.h" 16 SkScalar GrPathUtils::scaleToleranceToSrc(SkScalar devTol, 41 uint32_t GrPathUtils::quadraticPointCount(const SkPoint points[], SkScalar tol) { 72 uint32_t GrPathUtils::generateQuadraticPoints(const SkPoint& p0, 97 uint32_t GrPathUtils::cubicPointCount(const SkPoint points[], 128 uint32_t GrPathUtils::generateCubicPoints(const SkPoint& p0, 158 int GrPathUtils::worstCasePointCount(const SkPath& path, int* subpaths, SkScalar tol) { 205 void GrPathUtils::QuadUVMatrix::set(const SkPoint qPts[3]) { 320 void GrPathUtils::getConicKLM(const SkPoint p[3], const SkScalar weight, SkMatrix* out) { 540 void GrPathUtils::convertCubicToQuads(const SkPoint p[4] [all...] |
GrPathUtils.h | 21 namespace GrPathUtils {
|
/external/skia/gm/ |
beziereffects.cpp | 16 #include "GrPathUtils.h" 176 int cnt = GrPathUtils::chopCubicAtLoopIntersection(controlPts, 365 GrPathUtils::getConicKLM(controlPts, weight, &klm); 463 GrColor color, const GrPathUtils::QuadUVMatrix& devToUV) { 469 const GrPathUtils::QuadUVMatrix& devToUV) 492 GrPathUtils::QuadUVMatrix fDevToUV; 607 GrPathUtils::QuadUVMatrix DevToUV(pts);
|
/external/skqp/gm/ |
beziereffects.cpp | 16 #include "GrPathUtils.h" 176 int cnt = GrPathUtils::chopCubicAtLoopIntersection(controlPts, 365 GrPathUtils::getConicKLM(controlPts, weight, &klm); 463 GrColor color, const GrPathUtils::QuadUVMatrix& devToUV) { 469 const GrPathUtils::QuadUVMatrix& devToUV) 492 GrPathUtils::QuadUVMatrix fDevToUV; 607 GrPathUtils::QuadUVMatrix DevToUV(pts);
|
/external/skia/samplecode/ |
SampleCCPRGeometry.cpp | 13 #include "GrPathUtils.h" 198 fCubicType = GrPathUtils::getCubicKLM(fPoints, &fCubicKLM, t, s);
|
/external/skia/src/utils/ |
SkShadowTessellator.cpp | 19 #include "GrPathUtils.h" 187 int maxCount = GrPathUtils::quadraticPointCount(pts, kQuadTolerance); 190 int count = GrPathUtils::generateQuadraticPoints(pts[0], pts[1], pts[2], 212 int maxCount = GrPathUtils::cubicPointCount(pts, kCubicTolerance); 215 int count = GrPathUtils::generateCubicPoints(pts[0], pts[1], pts[2], pts[3], [all...] |
/external/skqp/samplecode/ |
SampleCCPRGeometry.cpp | 13 #include "GrPathUtils.h" 198 fCubicType = GrPathUtils::getCubicKLM(fPoints, &fCubicKLM, t, s);
|
/external/skqp/src/utils/ |
SkShadowTessellator.cpp | 19 #include "GrPathUtils.h" 181 int maxCount = GrPathUtils::quadraticPointCount(pts, kQuadTolerance); 184 int count = GrPathUtils::generateQuadraticPoints(pts[0], pts[1], pts[2], 206 int maxCount = GrPathUtils::cubicPointCount(pts, kCubicTolerance); 209 int count = GrPathUtils::generateCubicPoints(pts[0], pts[1], pts[2], pts[3], [all...] |
/external/skia/src/gpu/ccpr/ |
GrCCGeometry.cpp | 11 #include "GrPathUtils.h" 161 using ExcludedTerm = GrPathUtils::ExcludedTerm; 321 ExcludedTerm skipTerm = GrPathUtils::calcCubicInverseTransposePowerBasisMatrix(devPts, &CIT);
|
/external/skqp/src/gpu/ccpr/ |
GrCCGeometry.cpp | 11 #include "GrPathUtils.h" 161 using ExcludedTerm = GrPathUtils::ExcludedTerm; 321 ExcludedTerm skipTerm = GrPathUtils::calcCubicInverseTransposePowerBasisMatrix(devPts, &CIT);
|