Home
last modified time | relevance | path

Searched refs:centerPoint (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/utils/
DSkShadowTessellator.cpp463 SkPoint centerPoint = fPositions[fPrevUmbraIndex] + fPositions[fFirstVertexIndex]; in SkAmbientShadowTessellator() local
464 centerPoint *= 0.5f; in SkAmbientShadowTessellator()
465 *fPositions.push() = centerPoint; in SkAmbientShadowTessellator()
467 centerPoint = fPositions[fPositions.count()-2] + fPositions[fFirstVertexIndex+1]; in SkAmbientShadowTessellator()
468 centerPoint *= 0.5f; in SkAmbientShadowTessellator()
469 *fPositions.push() = centerPoint; in SkAmbientShadowTessellator()
492 fPositions[0] += centerPoint; in SkAmbientShadowTessellator()
649 SkPoint centerPoint = fPositions[fPrevUmbraIndex] + umbraPoint; in addEdge() local
650 centerPoint *= 0.5f; in addEdge()
651 *fPositions.push() = centerPoint; in addEdge()
[all …]
/external/skia/src/utils/
DSkShadowTessellator.cpp476 SkPoint centerPoint = fPositions[fPrevUmbraIndex] + fPositions[fFirstVertexIndex]; in SkAmbientShadowTessellator() local
477 centerPoint *= 0.5f; in SkAmbientShadowTessellator()
478 *fPositions.push() = centerPoint; in SkAmbientShadowTessellator()
480 centerPoint = fPositions[fPositions.count()-2] + fPositions[fFirstVertexIndex+1]; in SkAmbientShadowTessellator()
481 centerPoint *= 0.5f; in SkAmbientShadowTessellator()
482 *fPositions.push() = centerPoint; in SkAmbientShadowTessellator()
505 fPositions[0] += centerPoint; in SkAmbientShadowTessellator()
662 SkPoint centerPoint = fPositions[fPrevUmbraIndex] + umbraPoint; in addEdge() local
663 centerPoint *= 0.5f; in addEdge()
664 *fPositions.push() = centerPoint; in addEdge()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp935 std::pair<glw::GLuint, glw::GLuint> centerPoint(width / 2, height / 2); in checkNearest() local
939 index = centerPoint.second * outRowWidth + centerPoint.first * out_components + i; in checkNearest()
943 << centerPoint.first << "," << centerPoint.second << ") , component (" << i << ")\n" in checkNearest()
/external/skia/src/core/
DSkPath.cpp1428 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo() local
1429 centerPoint *= 0.5f; in arcTo()
1430 centerPoint.offset(-delta.fY, delta.fX); in arcTo()
1431 unitPts[0] -= centerPoint; in arcTo()
1432 unitPts[1] -= centerPoint; in arcTo()
1470 unitPts[1] += centerPoint; in arcTo()
/external/skia/src/xps/
DSkXPSDevice.cpp904 XPS_POINT centerPoint; in createXpsRadialGradient() local
908 centerPoint = xps_point(info.fPoint[0]); in createXpsRadialGradient()
913 centerPoint = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
933 &centerPoint, in createXpsRadialGradient()
/external/skqp/src/xps/
DSkXPSDevice.cpp904 XPS_POINT centerPoint; in createXpsRadialGradient() local
908 centerPoint = xps_point(info.fPoint[0]); in createXpsRadialGradient()
913 centerPoint = xps_point(info.fPoint[0], localMatrix); in createXpsRadialGradient()
933 &centerPoint, in createXpsRadialGradient()
/external/skqp/src/core/
DSkPath.cpp1400 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo() local
1401 centerPoint *= 0.5f; in arcTo()
1402 centerPoint.offset(-delta.fY, delta.fX); in arcTo()
1403 unitPts[0] -= centerPoint; in arcTo()
1404 unitPts[1] -= centerPoint; in arcTo()
1442 unitPts[1] += centerPoint; in arcTo()