/external/skia/gm/ |
D | pictureshader.cpp | 66 SkMatrix ctm, localMatrix; in onDraw() local 69 localMatrix.setScale(2, 2); in onDraw() 70 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() 73 localMatrix.setScale(-1, -1); in onDraw() 74 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() 78 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw() 83 localMatrix.preRotate(45); in onDraw() 84 localMatrix.preScale(-2, -2); in onDraw() 85 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() [all …]
|
D | gradients_2pt_conical.cpp | 41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside() argument 48 data.fPos, data.fCount, tm, 0, &localMatrix); in Make2ConicalOutside() 52 … SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideStrip() argument 58 data.fPos, data.fCount, tm, 0, &localMatrix); in Make2ConicalOutsideStrip() 62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip() argument 69 data.fPos, data.fCount, tm, 0, &localMatrix); in Make2ConicalOutsideFlip() 73 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside() argument 82 0, &localMatrix); in Make2ConicalInside() 86 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip() argument 95 0, &localMatrix); in Make2ConicalInsideFlip() [all …]
|
/external/skqp/gm/ |
D | pictureshader.cpp | 66 SkMatrix ctm, localMatrix; in onDraw() local 69 localMatrix.setScale(2, 2); in onDraw() 70 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() 73 localMatrix.setScale(-1, -1); in onDraw() 74 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() 78 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); in onDraw() 83 localMatrix.preRotate(45); in onDraw() 84 localMatrix.preScale(-2, -2); in onDraw() 85 this->drawScene(canvas, ctm, localMatrix, 0); in onDraw() [all …]
|
D | gradients_2pt_conical.cpp | 41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside() argument 48 data.fPos, data.fCount, tm, 0, &localMatrix); in Make2ConicalOutside() 52 … SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideStrip() argument 58 data.fPos, data.fCount, tm, 0, &localMatrix); in Make2ConicalOutsideStrip() 62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip() argument 69 data.fPos, data.fCount, tm, 0, &localMatrix); in Make2ConicalOutsideFlip() 73 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside() argument 82 0, &localMatrix); in Make2ConicalInside() 86 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip() argument 95 0, &localMatrix); in Make2ConicalInsideFlip() [all …]
|
/external/skqp/src/gpu/effects/ |
D | GrBezierEffect.h | 64 const SkMatrix& localMatrix, 74 localMatrix, usesLocalCoords)); 81 GrClipEdgeType::kHairlineAA, localMatrix, 86 localMatrix, usesLocalCoords)); 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() function 113 const SkMatrix& localMatrix, bool usesLocalCoords); 148 const SkMatrix& localMatrix, 158 localMatrix, usesLocalCoords)); 165 GrClipEdgeType::kHairlineAA, localMatrix, 170 localMatrix, usesLocalCoords)); [all …]
|
D | GrBitmapTextGeoProc.h | 31 const SkMatrix& localMatrix, bool usesW) { in Make() argument 34 localMatrix, usesW)); in Make() 47 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() function 61 const SkMatrix& localMatrix, bool usesW);
|
/external/skia/src/gpu/effects/ |
D | GrBezierEffect.h | 64 const SkMatrix& localMatrix, 74 localMatrix, usesLocalCoords)); 81 GrClipEdgeType::kHairlineAA, localMatrix, 86 localMatrix, usesLocalCoords)); 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() function 113 const SkMatrix& localMatrix, bool usesLocalCoords); 148 const SkMatrix& localMatrix, 158 localMatrix, usesLocalCoords)); 165 GrClipEdgeType::kHairlineAA, localMatrix, 170 localMatrix, usesLocalCoords)); [all …]
|
D | GrBitmapTextGeoProc.h | 31 const SkMatrix& localMatrix, bool usesW) { in Make() argument 34 localMatrix, usesW)); in Make() 47 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() function 61 const SkMatrix& localMatrix, bool usesW);
|
/external/skqp/src/shaders/ |
D | SkShader.cpp | 28 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) in SkShaderBase() argument 29 : fLocalMatrix(localMatrix ? *localMatrix : SkMatrix::I()) { in SkShaderBase() 116 SkImage* SkShader::isAImage(SkMatrix* localMatrix, TileMode xy[2]) const { in isAImage() argument 117 return as_SB(this)->onIsAImage(localMatrix, xy); in isAImage() 139 const SkMatrix* localMatrix) { in MakeBitmapShader() argument 140 if (localMatrix && !localMatrix->invert(nullptr)) { in MakeBitmapShader() 143 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); in MakeBitmapShader() 147 const SkMatrix* localMatrix, const SkRect* tile) { in MakePictureShader() argument 148 if (localMatrix && !localMatrix->invert(nullptr)) { in MakePictureShader() 151 return SkPictureShader::Make(std::move(src), tmx, tmy, localMatrix, tile); in MakePictureShader()
|
D | SkLocalMatrixShader.h | 21 SkLocalMatrixShader(sk_sp<SkShader> proxy, const SkMatrix& localMatrix) in SkLocalMatrixShader() argument 22 : INHERITED(&localMatrix) in SkLocalMatrixShader() 34 sk_sp<SkShader> makeAsALocalMatrixShader(SkMatrix* localMatrix) const override { in makeAsALocalMatrixShader() argument 35 if (localMatrix) { in makeAsALocalMatrixShader() 36 *localMatrix = this->getLocalMatrix(); in makeAsALocalMatrixShader()
|
/external/skia/src/shaders/ |
D | SkShader.cpp | 29 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) in SkShaderBase() argument 30 : fLocalMatrix(localMatrix ? *localMatrix : SkMatrix::I()) { in SkShaderBase() 121 SkImage* SkShader::isAImage(SkMatrix* localMatrix, TileMode xy[2]) const { in isAImage() argument 122 return as_SB(this)->onIsAImage(localMatrix, xy); in isAImage() 144 const SkMatrix* localMatrix) { in MakeBitmapShader() argument 145 if (localMatrix && !localMatrix->invert(nullptr)) { in MakeBitmapShader() 148 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); in MakeBitmapShader() 152 const SkMatrix* localMatrix, const SkRect* tile) { in MakePictureShader() argument 153 if (localMatrix && !localMatrix->invert(nullptr)) { in MakePictureShader() 156 return SkPictureShader::Make(std::move(src), tmx, tmy, localMatrix, tile); in MakePictureShader()
|
D | SkLocalMatrixShader.h | 21 SkLocalMatrixShader(sk_sp<SkShader> proxy, const SkMatrix& localMatrix) in SkLocalMatrixShader() argument 22 : INHERITED(&localMatrix) in SkLocalMatrixShader() 34 sk_sp<SkShader> makeAsALocalMatrixShader(SkMatrix* localMatrix) const override { in makeAsALocalMatrixShader() argument 35 if (localMatrix) { in makeAsALocalMatrixShader() 36 *localMatrix = this->getLocalMatrix(); in makeAsALocalMatrixShader()
|
D | SkLocalMatrixShader.cpp | 76 sk_sp<SkShader> SkShader::makeWithLocalMatrix(const SkMatrix& localMatrix) const { in makeWithLocalMatrix() 77 if (localMatrix.isIdentity()) { in makeWithLocalMatrix() 81 const SkMatrix* lm = &localMatrix; in makeWithLocalMatrix() 87 otherLocalMatrix.preConcat(localMatrix); in makeWithLocalMatrix()
|
/external/skqp/include/effects/ |
D | SkGradientShader.h | 73 uint32_t flags, const SkMatrix* localMatrix); 95 uint32_t flags, const SkMatrix* localMatrix); 118 uint32_t flags, const SkMatrix* localMatrix); 141 uint32_t flags, const SkMatrix* localMatrix); 159 uint32_t flags, const SkMatrix* localMatrix); 179 uint32_t flags, const SkMatrix* localMatrix); 209 uint32_t flags, const SkMatrix* localMatrix); 212 uint32_t flags, const SkMatrix* localMatrix) { in MakeSweep() argument 214 localMatrix); in MakeSweep() 242 uint32_t flags, const SkMatrix* localMatrix); [all …]
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 73 uint32_t flags, const SkMatrix* localMatrix); 95 uint32_t flags, const SkMatrix* localMatrix); 118 uint32_t flags, const SkMatrix* localMatrix); 141 uint32_t flags, const SkMatrix* localMatrix); 159 uint32_t flags, const SkMatrix* localMatrix); 179 uint32_t flags, const SkMatrix* localMatrix); 209 uint32_t flags, const SkMatrix* localMatrix); 212 uint32_t flags, const SkMatrix* localMatrix) { in MakeSweep() argument 214 localMatrix); in MakeSweep() 242 uint32_t flags, const SkMatrix* localMatrix); [all …]
|
/external/skqp/fuzz/ |
D | FuzzGradients.cpp | 71 const SkMatrix* localMatrix, in logLinearGradient() argument 102 logOptionalMatrix("local matrix", localMatrix); in logLinearGradient() 121 SkTLazy<SkMatrix> localMatrix; in fuzzLinearGradient() local 123 makeMatrix(fuzz, localMatrix.init()); in fuzzLinearGradient() 126 colors.size(), mode, flags, localMatrix.getMaybeNull())); in fuzzLinearGradient() 132 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient() 137 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), nullptr); in fuzzLinearGradient() 159 SkTLazy<SkMatrix> localMatrix; in fuzzRadialGradient() local 161 makeMatrix(fuzz, localMatrix.init()); in fuzzRadialGradient() 164 pos.data(), colors.size(), mode, flags, localMatrix.getMaybeNull())); in fuzzRadialGradient() [all …]
|
/external/skia/fuzz/ |
D | FuzzGradients.cpp | 71 const SkMatrix* localMatrix, in logLinearGradient() argument 102 logOptionalMatrix("local matrix", localMatrix); in logLinearGradient() 121 SkTLazy<SkMatrix> localMatrix; in fuzzLinearGradient() local 123 makeMatrix(fuzz, localMatrix.init()); in fuzzLinearGradient() 126 colors.size(), mode, flags, localMatrix.getMaybeNull())); in fuzzLinearGradient() 132 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient() 137 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), nullptr); in fuzzLinearGradient() 159 SkTLazy<SkMatrix> localMatrix; in fuzzRadialGradient() local 161 makeMatrix(fuzz, localMatrix.init()); in fuzzRadialGradient() 164 pos.data(), colors.size(), mode, flags, localMatrix.getMaybeNull())); in fuzzRadialGradient() [all …]
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 508 SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) { in desc_init() argument 517 desc->fLocalMatrix = localMatrix; in desc_init() 667 const SkMatrix* localMatrix) { in MakeLinear() argument 670 localMatrix); in MakeLinear() 679 const SkMatrix* localMatrix) { in MakeLinear() argument 689 if (localMatrix && !localMatrix->invert(nullptr)) { in MakeLinear() 705 localMatrix); in MakeLinear() 714 const SkMatrix* localMatrix) { in MakeRadial() argument 717 flags, localMatrix); in MakeRadial() 726 const SkMatrix* localMatrix) { in MakeRadial() argument [all …]
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 508 SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) { in desc_init() argument 517 desc->fLocalMatrix = localMatrix; in desc_init() 667 const SkMatrix* localMatrix) { in MakeLinear() argument 670 localMatrix); in MakeLinear() 679 const SkMatrix* localMatrix) { in MakeLinear() argument 689 if (localMatrix && !localMatrix->invert(nullptr)) { in MakeLinear() 705 localMatrix); in MakeLinear() 714 const SkMatrix* localMatrix) { in MakeRadial() argument 717 flags, localMatrix); in MakeRadial() 726 const SkMatrix* localMatrix) { in MakeRadial() argument [all …]
|
/external/skia/modules/canvaskit/ |
D | interface.js | 555 CanvasKit.MakeImageShader = function(img, xTileMode, yTileMode, clampUnpremul, localMatrix) { argument 560 if (localMatrix) { 562 if (localMatrix.length === 6) { 563 localMatrix.push(0, 0, 1); 565 return CanvasKit._MakeImageShader(img, xTileMode, yTileMode, clampUnpremul, localMatrix); 587 CanvasKit.MakeLinearGradientShader = function(start, end, colors, pos, mode, localMatrix, flags) { argument 592 if (localMatrix) { 594 if (localMatrix.length === 6) { 595 localMatrix.push(0, 0, 1); 598 colors.length, mode, flags, localMatrix); [all …]
|
/external/skqp/include/c/ |
D | sk_shader.h | 50 const sk_matrix_t* localMatrix); 80 const sk_matrix_t* localMatrix); 103 const sk_matrix_t* localMatrix); 139 const sk_matrix_t* localMatrix);
|
/external/skia/include/c/ |
D | sk_shader.h | 50 const sk_matrix_t* localMatrix); 80 const sk_matrix_t* localMatrix); 103 const sk_matrix_t* localMatrix); 139 const sk_matrix_t* localMatrix);
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 662 CanvasKit.MakeImageShader = function(img, xTileMode, yTileMode, clampUnpremul, localMatrix) { argument 667 if (localMatrix) { 669 if (localMatrix.length === 6) { 670 localMatrix.push(0, 0, 1); 672 return CanvasKit._MakeImageShader(img, xTileMode, yTileMode, clampUnpremul, localMatrix); 694 CanvasKit.MakeLinearGradientShader = function(start, end, colors, pos, mode, localMatrix, flags) { argument 699 if (localMatrix) { 701 if (localMatrix.length === 6) { 702 localMatrix.push(0, 0, 1); 705 colors.length, mode, flags, localMatrix); [all …]
|
/external/skqp/src/gpu/ |
D | GrPathProcessor.h | 21 const SkMatrix& localMatrix = SkMatrix::I()) { 22 return new GrPathProcessor(color, viewMatrix, localMatrix); 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() function 41 GrPathProcessor(const SkPMColor4f&, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
|
/external/skia/src/gpu/ |
D | GrPathProcessor.h | 21 const SkMatrix& localMatrix = SkMatrix::I()) { 22 return new GrPathProcessor(color, viewMatrix, localMatrix); 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() function 41 GrPathProcessor(const SkPMColor4f&, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
|