/external/skia/src/shaders/ |
SkLocalMatrixShader.cpp | 17 if (args.fLocalMatrix) { 18 tmp.preConcat(*args.fLocalMatrix); 45 if (rec.fLocalMatrix) { 46 tmp.setConcat(*rec.fLocalMatrix, this->getLocalMatrix()); 47 newRec.fLocalMatrix = &tmp; 49 newRec.fLocalMatrix = &this->getLocalMatrix();
|
SkShaderBase.h | 35 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } 66 , fLocalMatrix(localM) 72 const SkMatrix* fLocalMatrix; // optional local matrix 160 , fLocalMatrix(localMatrix) 166 const SkMatrix* fLocalMatrix; 206 return fLocalMatrix.hasPerspective() || this->onIsRasterPipelineOnly(); 268 SkMatrix fLocalMatrix;
|
SkShader.cpp | 51 : fLocalMatrix(localMatrix ? *localMatrix : SkMatrix::I()) { 53 // Pre-cache so future calls to fLocalMatrix.getType() are threadsafe. 54 (void)fLocalMatrix.getType(); 63 bool hasLocalM = !fLocalMatrix.isIdentity(); 66 buffer.writeMatrix(fLocalMatrix); 73 SkMatrix total = SkMatrix::Concat(ctm, fLocalMatrix); 94 return this->computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, nullptr) 105 if (rec.fMatrix->hasPerspective() || fLocalMatrix.hasPerspective()) { 109 return this->computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, nullptr) 121 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()) [all...] |
SkImageShader.cpp | 169 if (args.fLocalMatrix) { 171 if (!args.fLocalMatrix->invert(&inv)) {
|
SkPictureShader.cpp | 310 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*rec.fMatrix, rec.fLocalMatrix, 385 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, args.fLocalMatrix,
|
SkBitmapProcShader.cpp | 183 if (!shader.computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, &totalInverse)) {
|
/external/skia/src/gpu/ |
GrPathProcessor.h | 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } 47 const SkMatrix fLocalMatrix;
|
GrDefaultGeoProcFactory.cpp | 57 const SkMatrix& localMatrix() const { return fLocalMatrix; } 217 this->setTransformDataHelper(dgp.fLocalMatrix, pdman, &transformIter); 254 , fLocalMatrix(localMatrix) 281 SkMatrix fLocalMatrix;
|
GrPathProcessor.cpp | 121 , fLocalMatrix(localMatrix) {
|
/external/skia/src/gpu/effects/ |
GrBitmapTextGeoProc.h | 43 const SkMatrix& localMatrix() const { return fLocalMatrix; } 56 SkMatrix fLocalMatrix;
|
GrBezierEffect.h | 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } 117 SkMatrix fLocalMatrix; 185 const SkMatrix& localMatrix() const { return fLocalMatrix; } 199 SkMatrix fLocalMatrix;
|
GrBitmapTextGeoProc.cpp | 122 , fLocalMatrix(localMatrix)
|
/external/skia/src/core/ |
SkNormalMapSource.cpp | 153 SkShaderBase::ContextRec overrideRec(overridePaint, *(rec.fMatrix), rec.fLocalMatrix, 167 if (rec.fLocalMatrix) { 168 total.preConcat(*rec.fLocalMatrix);
|
/external/skia/src/shaders/gradients/ |
SkSweepGradient.cpp | 44 desc.fGradFlags, desc.fLocalMatrix); 177 if (args.fLocalMatrix) { 179 if (!args.fLocalMatrix->invert(&inv)) {
|
SkTwoPointConicalGradient.cpp | 88 desc.fLocalMatrix); 112 GrGradientEffect::CreateArgs(args.fContext, this, args.fLocalMatrix, fTileMode,
|
SkRadialGradient.cpp | 71 desc.fLocalMatrix); 333 if (args.fLocalMatrix) { 335 if (!args.fLocalMatrix->invert(&inv)) {
|
SkGradientShader.cpp | 43 if (fLocalMatrix) { 64 if (fLocalMatrix) { 65 buffer.writeMatrix(*fLocalMatrix); 103 fLocalMatrix = &fLocalMatrixStorage; 106 fLocalMatrix = nullptr; 114 : INHERITED(desc.fLocalMatrix) 287 desc.fLocalMatrix = m.isIdentity() ? nullptr : &m; [all...] |
SkGradientShaderPriv.h | 90 const SkMatrix* fLocalMatrix;
|
SkLinearGradient.cpp | 57 desc.fLocalMatrix); 440 if (args.fLocalMatrix) { 442 if (!args.fLocalMatrix->invert(&inv)) {
|
/external/skia/src/gpu/ops/ |
GrNonAAFillRectOp.cpp | 251 fLocalMatrix = *localMatrix; 287 fViewMatrix, fHasLocalRect, fHasLocalMatrix ? &fLocalMatrix : nullptr); 337 if (fHasLocalMatrix && !fLocalMatrix.cheapEqualTo(that->fLocalMatrix)) { 356 SkMatrix fLocalMatrix;
|
GrAAConvexPathRenderer.cpp | 585 qe.fLocalMatrix, 613 b->add32(SkToBool(qee.fUsesLocalCoords && qee.fLocalMatrix.hasPerspective())); 620 this->setTransformDataHelper(qe.fLocalMatrix, pdman, &transformIter); 637 : fLocalMatrix(localMatrix), fUsesLocalCoords(usesLocalCoords) { 647 SkMatrix fLocalMatrix; [all...] |
GrAAFillRectOp.cpp | 327 , fLocalMatrix(localMatrix) {} 328 const SkMatrix& localMatrix() const { return fLocalMatrix; } 331 SkMatrix fLocalMatrix;
|
GrDashOp.cpp | [all...] |
GrOvalOpFactory.cpp | 71 : fLocalMatrix(localMatrix) { 152 cgp.fLocalMatrix, 190 key |= cgp.fLocalMatrix.hasPerspective() ? 0x02 : 0x0; 199 this->setTransformDataHelper(primProc.cast<CircleGeometryProcessor>().fLocalMatrix, 207 SkMatrix fLocalMatrix; 243 EllipseGeometryProcessor(bool stroke, const SkMatrix& localMatrix) : fLocalMatrix(localMatrix) { 300 egp.fLocalMatrix, 333 key |= egp.fLocalMatrix.hasPerspective() ? 0x2 : 0x0; 340 this->setTransformDataHelper(egp.fLocalMatrix, pdman, &transformIter); 351 SkMatrix fLocalMatrix; [all...] |
/external/skia/tests/ |
GradientTest.cpp | 403 const SkScalar* fLocalMatrix; 467 if (config.fLocalMatrix) { 469 localMatrix.get()->set9(config.fLocalMatrix);
|