Home
last modified time | relevance | path

Searched refs:fLocalMatrix (Results 1 – 25 of 62) sorted by relevance

123

/external/skqp/src/shaders/
DSkShader.cpp29 : 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()
DSkShaderBase.h43 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } in getLocalMatrix()
69 , fLocalMatrix(localM) in ContextRec()
75 const SkMatrix* fLocalMatrix; // optional local matrix member
232 SkMatrix fLocalMatrix;
DSkLocalMatrixShader.cpp43 if (rec.fLocalMatrix) { in onMakeContext()
44 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext()
48 newRec.fLocalMatrix = lm; in onMakeContext()
/external/skia/src/shaders/
DSkShader.cpp33 : 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()
DSkShaderBase.h64 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } in getLocalMatrix()
89 , fLocalMatrix(localM) in ContextRec()
97 const SkMatrix* fLocalMatrix; // optional local matrix member
252 SkMatrix fLocalMatrix;
DSkLocalMatrixShader.cpp47 if (rec.fLocalMatrix) { in onMakeContext()
48 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext()
52 newRec.fLocalMatrix = lm; in onMakeContext()
/external/skia/experimental/xform/
DSkXform.h97 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/
DGrBezierEffect.h88 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
DGrBezierEffect.cpp33 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()
DGrBitmapTextGeoProc.cpp26 , fLocalMatrix(SkMatrix::InvalidMatrix()) {}
98 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, btgp.localMatrix(), &fLocalMatrix); in setData()
121 SkMatrix fLocalMatrix; member in GrGLBitmapTextGeoProc
140 , fLocalMatrix(localMatrix) in GrBitmapTextGeoProc()
DGrDistanceFieldGeoProc.h96 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
DGrBitmapTextGeoProc.h54 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix()
72 SkMatrix fLocalMatrix; variable
DGrDistanceFieldGeoProc.cpp184 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/
DGrBezierEffect.h103 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
DGrDistanceFieldGeoProc.h86 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
DGrBitmapTextGeoProc.h47 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix()
66 SkMatrix fLocalMatrix; variable
/external/skia/tools/gpu/
DTestOps.cpp28 : 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/
DGrPathProcessor.h29 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix()
45 const SkMatrix fLocalMatrix; variable
DGrDefaultGeoProcFactory.cpp62 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/
DGrCCPathProcessor.h78 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix()
100 SkMatrix fLocalMatrix; variable
/external/skqp/src/core/
DSkNormalMapSource.cpp152 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/
DGrDashOp.cpp828 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/
DSkGradientShader.cpp46 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/
DGrDefaultGeoProcFactory.cpp53 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix()
222 , fLocalMatrix(localMatrix) in DefaultGeoProc()
247 SkMatrix fLocalMatrix; member in DefaultGeoProc
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp49 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()

123