/external/skqp/src/shaders/ |
D | SkShader.cpp | 29 : fLocalMatrix(localMatrix ? *localMatrix : SkMatrix::I()) { in SkShaderBase() 31 (void)fLocalMatrix.getType(); in SkShaderBase() 38 bool hasLocalM = !fLocalMatrix.isIdentity(); in flatten() 41 buffer.writeMatrix(fLocalMatrix); in flatten() 48 SkTCopyOnFirstWrite<SkMatrix> m(fLocalMatrix); in totalLocalMatrix() 83 fLocalMatrix.hasPerspective() || in makeContext() 84 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext() 85 !this->computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, nullptr)) { in makeContext() 100 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context() 105 SkAssertResult(fShader.computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, &fTotalInverse)); in Context()
|
D | SkShaderBase.h | 43 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } in getLocalMatrix() 69 , fLocalMatrix(localM) in ContextRec() 75 const SkMatrix* fLocalMatrix; // optional local matrix member 232 SkMatrix fLocalMatrix;
|
D | SkLocalMatrixShader.cpp | 43 if (rec.fLocalMatrix) { in onMakeContext() 44 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext() 48 newRec.fLocalMatrix = lm; in onMakeContext()
|
/external/skia/src/shaders/ |
D | SkShader.cpp | 33 : fLocalMatrix(localMatrix ? *localMatrix : SkMatrix::I()) { in SkShaderBase() 35 (void)fLocalMatrix.getType(); in SkShaderBase() 42 bool hasLocalM = !fLocalMatrix.isIdentity(); in flatten() 45 buffer.writeMatrix(fLocalMatrix); in flatten() 51 SkTCopyOnFirstWrite<SkMatrix> m(fLocalMatrix); in totalLocalMatrix() 82 fLocalMatrix.hasPerspective() || in makeContext() 83 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext() 84 !this->computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, nullptr)) { in makeContext() 99 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context() 104 SkAssertResult(fShader.computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, &fTotalInverse)); in Context()
|
D | SkShaderBase.h | 64 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } in getLocalMatrix() 89 , fLocalMatrix(localM) in ContextRec() 97 const SkMatrix* fLocalMatrix; // optional local matrix member 252 SkMatrix fLocalMatrix;
|
D | SkLocalMatrixShader.cpp | 47 if (rec.fLocalMatrix) { in onMakeContext() 48 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext() 52 newRec.fLocalMatrix = lm; in onMakeContext()
|
/external/skia/experimental/xform/ |
D | SkXform.h | 97 fLocalMatrix.reset(); in MatrixXF() 101 fLocalMatrix = m; in setLocalMatrix() 104 fLocalMatrix.setTranslate(sx, sy); in setTranslate() 107 fLocalMatrix.setScale(sx, sy); in setScale() 110 fLocalMatrix.setRotate(degrees); in setRotate() 117 SkMatrix fLocalMatrix;
|
/external/skia/src/gpu/effects/ |
D | GrBezierEffect.h | 88 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 102 SkMatrix fLocalMatrix; variable 155 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 169 SkMatrix fLocalMatrix; variable
|
D | GrBezierEffect.cpp | 33 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, ce.localMatrix(), &fLocalMatrix); in setData() 48 SkMatrix fLocalMatrix; member in GrGLConicEffect 61 , fLocalMatrix(SkMatrix::InvalidMatrix()) in GrGLConicEffect() 198 , fLocalMatrix(viewMatrix) in GrConicEffect() 243 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, qe.localMatrix(), &fLocalMatrix); in setData() 258 SkMatrix fLocalMatrix; member in GrGLQuadEffect 272 , fLocalMatrix(SkMatrix::InvalidMatrix()) in GrGLQuadEffect() 374 , fLocalMatrix(localMatrix) in GrQuadEffect()
|
D | GrBitmapTextGeoProc.cpp | 26 , fLocalMatrix(SkMatrix::InvalidMatrix()) {} 98 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, btgp.localMatrix(), &fLocalMatrix); in setData() 121 SkMatrix fLocalMatrix; member in GrGLBitmapTextGeoProc 140 , fLocalMatrix(localMatrix) in GrBitmapTextGeoProc()
|
D | GrDistanceFieldGeoProc.h | 96 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 124 SkMatrix fLocalMatrix; variable 249 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 267 const SkMatrix fLocalMatrix; variable
|
D | GrBitmapTextGeoProc.h | 54 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 72 SkMatrix fLocalMatrix; variable
|
D | GrDistanceFieldGeoProc.cpp | 184 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, dfa8gp.localMatrix(), &fLocalMatrix); in setData() 205 SkMatrix fLocalMatrix = SkMatrix::InvalidMatrix(); member in GrGLDistanceFieldA8TextGeoProc 223 , fLocalMatrix(localMatrix) in GrDistanceFieldA8TextGeoProc() 595 , fLocalMatrix(SkMatrix::InvalidMatrix()) { 788 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, dflcd.localMatrix(), &fLocalMatrix); in setData() 809 SkMatrix fLocalMatrix; member in GrGLDistanceFieldLCDTextGeoProc 825 , fLocalMatrix(localMatrix) in GrDistanceFieldLCDTextGeoProc()
|
/external/skqp/src/gpu/effects/ |
D | GrBezierEffect.h | 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 117 SkMatrix fLocalMatrix; variable 187 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 201 SkMatrix fLocalMatrix; variable
|
D | GrDistanceFieldGeoProc.h | 86 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 113 SkMatrix fLocalMatrix; variable 235 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 253 const SkMatrix fLocalMatrix; variable
|
D | GrBitmapTextGeoProc.h | 47 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 66 SkMatrix fLocalMatrix; variable
|
/external/skia/tools/gpu/ |
D | TestOps.cpp | 28 : GrGeometryProcessor(kTestRectOp_ClassID), fLocalMatrix(localMatrix) { in GP() 53 SetTransform(pdman, shaderCaps, fLocalMatrixUni, gp.fLocalMatrix); in setData() 57 b->add32(ComputeMatrixKey(shaderCaps, gp.fLocalMatrix)); in GenKey() 77 gp.fLocalMatrix, in onEmitCode() 87 SkMatrix fLocalMatrix; member in __anona0bc612d0111::GP
|
/external/skqp/src/gpu/ |
D | GrPathProcessor.h | 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 45 const SkMatrix fLocalMatrix; variable
|
D | GrDefaultGeoProcFactory.cpp | 62 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 262 this->setTransformDataHelper(dgp.fLocalMatrix, pdman, &transformIter); in setData() 336 , fLocalMatrix(localMatrix) in DefaultGeoProc() 379 SkMatrix fLocalMatrix; member in DefaultGeoProc
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathProcessor.h | 78 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 100 SkMatrix fLocalMatrix; variable
|
/external/skqp/src/core/ |
D | SkNormalMapSource.cpp | 152 SkShaderBase::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, in asProvider() 166 if (rec.fLocalMatrix) { in computeNormTotalInverse() 167 total.preConcat(*rec.fLocalMatrix); in computeNormTotalInverse()
|
/external/skia/src/gpu/ops/ |
D | GrDashOp.cpp | 828 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 843 SkMatrix fLocalMatrix; member in DashingCircleEffect 877 SkMatrix fLocalMatrix; member in GLDashingCircleEffect 887 fLocalMatrix = SkMatrix::InvalidMatrix(); in GLDashingCircleEffect() 957 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, dce.localMatrix(), &fLocalMatrix); in setData() 998 , fLocalMatrix(localMatrix) in DashingCircleEffect() 1051 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 1066 SkMatrix fLocalMatrix; member in DashingLineEffect 1099 SkMatrix fLocalMatrix; member in GLDashingLineEffect 1196 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, de.localMatrix(), &fLocalMatrix); in setData() [all …]
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 46 if (fLocalMatrix) { in flatten() 67 if (fLocalMatrix) { in flatten() 68 buffer.writeMatrix(*fLocalMatrix); in flatten() 113 fLocalMatrix = &fLocalMatrixStorage; in unflatten() 116 fLocalMatrix = nullptr; in unflatten() 124 : INHERITED(desc.fLocalMatrix) in SkGradientShaderBase() 214 desc.fLocalMatrix = m.isIdentity() ? nullptr : &m; in flatten() 517 desc->fLocalMatrix = localMatrix; in desc_init()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 53 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 222 , fLocalMatrix(localMatrix) in DefaultGeoProc() 247 SkMatrix fLocalMatrix; member in DefaultGeoProc
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 49 if (fLocalMatrix) { in flatten() 70 if (fLocalMatrix) { in flatten() 71 buffer.writeMatrix(*fLocalMatrix); in flatten() 116 fLocalMatrix = &fLocalMatrixStorage; in unflatten() 119 fLocalMatrix = nullptr; in unflatten() 127 : INHERITED(desc.fLocalMatrix) in SkGradientShaderBase() 217 desc.fLocalMatrix = m.isIdentity() ? nullptr : &m; in flatten() 691 desc->fLocalMatrix = localMatrix; in desc_init()
|