/external/skia/src/core/ |
SkLocalMatrixShader.h | 17 SkLocalMatrixShader(SkShader* proxy, const SkMatrix& localMatrix) 18 : INHERITED(&localMatrix) 38 const SkMatrix& viewM, const SkMatrix* localMatrix, 41 if (localMatrix) { 42 tmp.preConcat(*localMatrix); 58 SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const override { 59 if (localMatrix) { 60 *localMatrix = this->getLocalMatrix();
|
SkLocalMatrixShader.cpp | 50 SkShader* SkShader::CreateLocalMatrixShader(SkShader* proxy, const SkMatrix& localMatrix) { 55 if (localMatrix.isIdentity()) { 59 const SkMatrix* lm = &localMatrix; 64 otherLocalMatrix.preConcat(localMatrix);
|
SkBitmapProcShader.h | 20 const SkMatrix* localMatrix = NULL); 78 const SkMatrix* localMatrix, SkTBlitterAllocator* alloc);
|
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient_gpu.h | 22 SkShader::TileMode tm, const SkMatrix* localMatrix);
|
/external/skia/src/gpu/ |
GrRectBatch.h | 27 const SkMatrix* localMatrix);
|
GrPathProcessor.h | 28 const SkMatrix& localMatrix = SkMatrix::I()) { 29 return SkNEW_ARGS(GrPathProcessor, (color, viewMatrix, localMatrix)); 42 const SkMatrix& localMatrix() const { return fLocalMatrix; } 58 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix); 86 if (leftUsesLocalCoords && !left.localMatrix().cheapEqualTo(right.localMatrix())) {
|
GrRectBatch.cpp | 29 const SkMatrix* localMatrix) { 33 if (localMatrix) { 34 return GrDefaultGeoProcFactory::Create(flags, color, SkMatrix::I(), *localMatrix); 86 // if we have a local rect, then we apply the localMatrix directly to the localRect to 96 invert.preConcat(this->localMatrix()); 176 const SkMatrix& localMatrix() const { return fGeoData[0].fLocalMatrix; } 197 if (this->hasLocalMatrix() && !this->localMatrix().cheapEqualTo(that->localMatrix())) { 227 const SkMatrix* localMatrix) { 240 if (localMatrix) { [all...] |
GrDefaultGeoProcFactory.cpp | 26 const SkMatrix& localMatrix, 31 localMatrix, 43 const SkMatrix& localMatrix() const { return fLocalMatrix; } 91 gp.localMatrix(), args.fTransformsIn, args.fTransformsOut); 95 gp.localMatrix(), args.fTransformsIn, args.fTransformsOut); 125 key |= local.fUsesLocalCoords && def.localMatrix().hasPerspective() ? 0x1 << 24 : 0x0; 180 const SkMatrix& localMatrix, 188 , fLocalMatrix(localMatrix) 261 const SkMatrix& localMatrix, 266 localMatrix, [all...] |
GrPathProcessor.cpp | 15 const SkMatrix& localMatrix) 19 , fLocalMatrix(localMatrix) {
|
/external/skia/gm/ |
pictureshader.cpp | 65 SkMatrix ctm, localMatrix; 68 localMatrix.setScale(2, 2); 69 this->drawScene(canvas, ctm, localMatrix, 0); 72 localMatrix.setScale(-1, -1); 73 this->drawScene(canvas, ctm, localMatrix, 0); 77 this->drawScene(canvas, ctm, localMatrix, 0); 81 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); 82 localMatrix.preRotate(45); 83 localMatrix.preScale(-2, -2); 84 this->drawScene(canvas, ctm, localMatrix, 0) [all...] |
gradients_2pt_conical.cpp | 41 SkShader::TileMode tm, const SkMatrix& localMatrix) { 50 data.fCount, tm, 0, &localMatrix); 54 SkShader::TileMode tm, const SkMatrix& localMatrix) { 63 data.fCount, tm, 0, &localMatrix); 67 SkShader::TileMode tm, const SkMatrix& localMatrix) { 76 0, &localMatrix); 80 SkShader::TileMode tm, const SkMatrix& localMatrix) { 89 0, &localMatrix); 93 SkShader::TileMode tm, const SkMatrix& localMatrix) { 102 0, &localMatrix); [all...] |
shaderbounds.cpp | 13 const SkMatrix& localMatrix) { 22 SkShader::kClamp_TileMode, 0, &localMatrix); 30 bool alternate, const SkMatrix& localMatrix);
|
gradient_matrix.cpp | 64 static SkShader* make_linear_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) { 66 SkShader::kClamp_TileMode, 0, &localMatrix); 69 static SkShader* make_radial_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) { 75 SkShader::kClamp_TileMode, 0, &localMatrix);
|
/external/skia/include/c/ |
sk_shader.h | 32 const sk_matrix_t* localMatrix);
|
/external/skia/src/gpu/effects/ |
GrBitmapTextGeoProc.h | 26 const SkMatrix& localMatrix) { 27 return SkNEW_ARGS(GrBitmapTextGeoProc, (color, tex, p, format, localMatrix)); 39 const SkMatrix& localMatrix() const { return fLocalMatrix; } 52 GrMaskFormat format, const SkMatrix& localMatrix);
|
GrBezierEffect.h | 65 const SkMatrix& localMatrix, 74 localMatrix)); 81 localMatrix)); 85 localMatrix)); 102 const SkMatrix& localMatrix() const { return fLocalMatrix; } 115 const SkMatrix& localMatrix); 147 const SkMatrix& localMatrix, 156 localMatrix)); 163 localMatrix)); 167 localMatrix)); [all...] |
/external/skia/include/effects/ |
SkGradientShader.h | 48 uint32_t flags, const SkMatrix* localMatrix); 75 uint32_t flags, const SkMatrix* localMatrix); 93 uint32_t flags, const SkMatrix* localMatrix); 120 uint32_t flags, const SkMatrix* localMatrix);
|
/external/skia/src/gpu/gl/ |
GrGLGeometryProcessor.h | 40 this->setTransformDataMatrix(gp.localMatrix(), pdman, index, transforms); 56 const SkMatrix& localMatrix, 83 void setTransformDataMatrix(const SkMatrix& localMatrix, 91 const SkMatrix& transform = GetTransformMatrix(localMatrix, *transforms[t]);
|
GrGLPrimitiveProcessor.cpp | 12 SkMatrix GrGLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix, 15 // We only apply the localmatrix to localcoords 17 combined.setConcat(coordTransform.getMatrix(), localMatrix);
|
/external/skia/include/core/ |
SkShader.h | 39 SkShader(const SkMatrix* localMatrix = NULL); 369 * may also use the optional localMatrix to define a matrix relevant only for sampling. 372 const SkMatrix* localMatrix, GrColor*, 423 const SkMatrix* localMatrix = NULL); 434 * affected by localMatrix and does not imply scaling (only translation 441 const SkMatrix* localMatrix, 445 * Return a shader that will apply the specified localMatrix to the proxy shader. 450 static SkShader* CreateLocalMatrixShader(SkShader* proxy, const SkMatrix& localMatrix); 453 * If this shader can be represented by another shader + a localMatrix, return that shader 454 * and, if not NULL, the localMatrix. If not, return NULL and ignore the localMatrix parameter [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapShader_Delegate.java | 123 AffineTransform localMatrix = getLocalMatrix(); 125 localMatrix = localMatrix.createInverse(); 129 localMatrix = new AffineTransform(); 137 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); 148 AffineTransform localMatrix, 151 mLocalMatrix = localMatrix;
|
LinearGradient_Delegate.java | 139 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 141 localMatrix = localMatrix.createInverse(); 145 localMatrix = new java.awt.geom.AffineTransform(); 148 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); 159 java.awt.geom.AffineTransform localMatrix, 162 mLocalMatrix = localMatrix;
|
RadialGradient_Delegate.java | 127 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 129 localMatrix = localMatrix.createInverse(); 133 localMatrix = new java.awt.geom.AffineTransform(); 136 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); 147 java.awt.geom.AffineTransform localMatrix, 150 mLocalMatrix = localMatrix;
|
SweepGradient_Delegate.java | 117 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 119 localMatrix = localMatrix.createInverse(); 123 localMatrix = new java.awt.geom.AffineTransform(); 126 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); 137 java.awt.geom.AffineTransform localMatrix, 140 mLocalMatrix = localMatrix;
|
/external/skia/src/image/ |
SkImage_Gpu.h | 43 const SkMatrix* localMatrix) const override;
|