Searched defs:tess (Results 1 - 3 of 3) sorted by relevance

/external/skia/tests/
H A DTessellatingPathRendererTests.cpp236 GrTessellatingPathRenderer tess; local
240 tess.drawPath(dt, &pipelineBuilder, SK_ColorWHITE, SkMatrix::I(), path, stroke, false);
/external/skia/src/gpu/
H A DGrAAConvexTessellator.cpp628 void GrAAConvexTessellator::Ring::init(const GrAAConvexTessellator& tess) { argument
629 this->computeNormals(tess);
631 SkASSERT(this->isConvex(tess));
643 void GrAAConvexTessellator::Ring::computeNormals(const GrAAConvexTessellator& tess) { argument
647 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex);
650 fPts[cur].fNorm.setOrthog(fPts[cur].fNorm, tess.side());
670 bool GrAAConvexTessellator::Ring::isConvex(const GrAAConvexTessellator& tess) const {
675 SkPoint prev = tess.point(fPts[0].fIndex) - tess
[all...]
H A DGrAAConvexPathRenderer.cpp701 static void extract_verts(const GrAAConvexTessellator& tess, argument
709 for (int i = 0; i < tess.numPts(); ++i) {
710 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i);
715 for (int i = 0; i < tess.numPts(); ++i) {
716 SkASSERT(tess.depth(i) >= -0.5f && tess.depth(i) <= 0.5f);
718 SkASSERT(SkScalarRoundToInt(255.0f * (tess.depth(i) + 0.5f)) <= 255);
719 unsigned scale = SkScalarRoundToInt(255.0f * (tess.depth(i) + 0.5f));
725 tess.depth(i) + 0.5f;
729 for (int i = 0; i < tess
812 GrAAConvexTessellator tess; local
[all...]

Completed in 121 milliseconds