Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp322 const LocalCoords& localCoords, in Make() argument
337 flags |= localCoords.fType == LocalCoords::kHasExplicit_Type ? kLocalCoordAttribute_GPFlag : 0; in Make()
340 bool localCoordsWillBeRead = localCoords.fType != LocalCoords::kUnused_Type; in Make()
347 localCoords.fMatrix ? *localCoords.fMatrix : SkMatrix::I(), in Make()
355 const LocalCoords& localCoords, in MakeForDeviceSpace() argument
358 if (LocalCoords::kUnused_Type != localCoords.fType) { in MakeForDeviceSpace()
359 SkASSERT(LocalCoords::kUsePosition_Type == localCoords.fType); in MakeForDeviceSpace()
364 if (localCoords.hasLocalMatrix()) { in MakeForDeviceSpace()
365 invert.preConcat(*localCoords.fMatrix); in MakeForDeviceSpace()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.h36 const char* localCoords, in emitTransforms() argument
39 posVar, localCoords, SkMatrix::I(), handler); in emitTransforms()
47 const char* localCoords,
DGrGLSLGeometryProcessor.cpp30 const char* localCoords, in emitTransforms() argument
65 vb->codeAppendf("%s = (%s * vec3(%s, 1)).xy;", v.vsOut(), uniName, localCoords); in emitTransforms()
67 vb->codeAppendf("%s = %s * vec3(%s, 1);", v.vsOut(), uniName, localCoords); in emitTransforms()
/external/skia/src/gpu/ops/
DGrNonAAFillRectOp.cpp50 LocalCoords localCoords(hasExplicitLocalCoords ? LocalCoords::kHasExplicit_Type in make_perspective_gp() local
54 Coverage::kSolid_Type, localCoords, viewMatrix); in make_perspective_gp()
56 LocalCoords localCoords(LocalCoords::kHasExplicit_Type, localMatrix); in make_perspective_gp() local
58 Coverage::kSolid_Type, localCoords, SkMatrix::I()); in make_perspective_gp()
60 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix); in make_perspective_gp() local
62 Coverage::kSolid_Type, localCoords, in make_perspective_gp()
DGrDrawVerticesOp.cpp190 const SkPoint* localCoords = mesh.fVertices->texCoords(); in onPrepareDraws() local
231 *(SkPoint*)((intptr_t)verts + localCoordOffset) = localCoords[j]; in onPrepareDraws()
DGrDefaultPathRenderer.cpp389 LocalCoords localCoords(fHelper.usesLocalCoords() ? LocalCoords::kUsePosition_Type in onPrepareDraws() local
391 gp = GrDefaultGeoProcFactory::Make(color, coverage, localCoords, this->viewMatrix()); in onPrepareDraws()
DGrAAHairLinePathRenderer.cpp915 LocalCoords localCoords(fHelper.usesLocalCoords() ? LocalCoords::kUsePosition_Type in onPrepareDraws() local
917 localCoords.fMatrix = geometryProcessorLocalM; in onPrepareDraws()
918 lineGP = GrDefaultGeoProcFactory::Make(color, Coverage::kAttribute_Type, localCoords, in onPrepareDraws()
/external/skia/src/gpu/instanced/
DInstanceProcessor.cpp372 const char* localCoords = nullptr; in onEmitCode() local
374 localCoords = "localCoords"; in onEmitCode()
403 this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, localCoords, in onEmitCode()