/external/skia/include/c/ |
H A D | sk_shader.h | 50 const sk_matrix_t* localMatrix); 72 @param localMatrix May be NULL 80 const sk_matrix_t* localMatrix); 97 @param localMatrix May be NULL 103 const sk_matrix_t* localMatrix); 127 @param localMatrix May be NULL 139 const sk_matrix_t* localMatrix);
|
/external/skia/src/gpu/ |
H A D | GrPathProcessor.h | 21 const SkMatrix& localMatrix = SkMatrix::I()) { 22 return new GrPathProcessor(color, viewMatrix, localMatrix); 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } function in class:GrPathProcessor 41 GrPathProcessor(GrColor, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
|
/external/skia/src/gpu/effects/ |
H A D | GrShadowGeoProc.h | 22 static sk_sp<GrGeometryProcessor> Make(const SkMatrix& localMatrix) { argument 23 return sk_sp<GrGeometryProcessor>(new GrRRectShadowGeoProc(localMatrix)); 34 const SkMatrix& localMatrix() const { return fLocalMatrix; } function in class:GrRRectShadowGeoProc 41 GrRRectShadowGeoProc(const SkMatrix& localMatrix);
|
H A D | GrBitmapTextGeoProc.h | 26 GrMaskFormat format, const SkMatrix& localMatrix, 30 localMatrix, usesLocalCoords)); 43 const SkMatrix& localMatrix() const { return fLocalMatrix; } function in class:GrBitmapTextGeoProc 53 GrMaskFormat format, const SkMatrix& localMatrix, bool usesLocalCoords); 24 Make(GrResourceProvider* resourceProvider, GrColor color, sk_sp<GrTextureProxy> proxy, const GrSamplerParams& p, GrMaskFormat format, const SkMatrix& localMatrix, bool usesLocalCoords) argument
|
H A D | GrShadowGeoProc.cpp | 44 rsgp.localMatrix(), 60 this->setTransformDataHelper(proc.cast<GrRRectShadowGeoProc>().localMatrix(), 69 key = rsgp.localMatrix().hasPerspective() ? 0x1 : 0x0; 79 GrRRectShadowGeoProc::GrRRectShadowGeoProc(const SkMatrix& localMatrix) argument 80 : fLocalMatrix(localMatrix) {
|
H A D | GrBezierEffect.h | 64 const SkMatrix& localMatrix, 74 localMatrix, usesLocalCoords)); 81 kHairlineAA_GrProcessorEdgeType, localMatrix, 86 localMatrix, usesLocalCoords)); 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } function in class:GrConicEffect 113 const SkMatrix& localMatrix, bool usesLocalCoords); 146 const SkMatrix& localMatrix, 156 localMatrix, usesLocalCoords)); 163 kHairlineAA_GrProcessorEdgeType, localMatrix, 168 localMatrix, usesLocalCoord 60 Make(GrColor color, const SkMatrix& viewMatrix, const GrPrimitiveEdgeType edgeType, const GrCaps& caps, const SkMatrix& localMatrix, bool usesLocalCoords, uint8_t coverage = 0xff) argument 142 Make(GrColor color, const SkMatrix& viewMatrix, const GrPrimitiveEdgeType edgeType, const GrCaps& caps, const SkMatrix& localMatrix, bool usesLocalCoords, uint8_t coverage = 0xff) argument 185 const SkMatrix& localMatrix() const { return fLocalMatrix; } function in class:GrQuadEffect [all...] |
/external/skia/src/gpu/ops/ |
H A D | GrNonAAFillRectOp.h | 24 const SkMatrix* localMatrix); 30 const SkMatrix* localMatrix);
|
H A D | GrRectOpFactory.h | 34 const SkMatrix* localMatrix) { 35 if (viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective())) { 37 localMatrix); 39 return GrNonAAFillRectOp::Make(color, viewMatrix, rect, localRect, localMatrix); 57 const SkMatrix& localMatrix, 60 return GrAAFillRectOp::Make(color, viewMatrix, localMatrix, rect, devRect); 30 MakeNonAAFill(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument 55 MakeAAFill(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix, const SkRect& rect, const SkRect& devRect) argument
|
H A D | GrNonAAFillRectPerspectiveOp.cpp | 31 const SkMatrix* localMatrix) { 32 SkASSERT(viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective())); 37 // the local rect on the cpu (in case the localMatrix also has perspective). 38 // Otherwise, if we have a local rect, then we apply the localMatrix directly to the localRect 43 localMatrix); 47 LocalCoords localCoords(LocalCoords::kHasExplicit_Type, localMatrix); 51 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix); 97 const SkRect* localRect, const SkMatrix* localMatrix) 99 SkASSERT(viewMatrix.hasPerspective() || (localMatrix 29 make_persp_gp(const SkMatrix& viewMatrix, bool hasExplicitLocalCoords, const SkMatrix* localMatrix) argument 96 NonAAFillRectPerspectiveOp(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument 224 MakeWithPerspective(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument 246 SkMatrix localMatrix; local [all...] |
H A D | GrAAFillRectOp.cpp | 56 const SkMatrix* localMatrix) { 106 if (localMatrix) { 113 localCoordMatrix.setConcat(*localMatrix, invViewMatrix); 164 const SkMatrix* localMatrix) 166 if (localMatrix) { 168 new (mem) RectWithLocalMatrixInfo(color, viewMatrix, rect, devRect, *localMatrix); 244 const SkMatrix* localMatrix = nullptr; variable 250 localMatrix = &static_cast<const RectWithLocalMatrixInfo*>(info)->localMatrix(); 252 localMatrix 49 generate_aa_fill_rect_geometry(intptr_t verts, size_t vertexStride, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect& devRect, bool tweakAlphaForCoverage, const SkMatrix* localMatrix) argument 160 AAFillRectOp(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect& devRect, const SkMatrix* localMatrix) argument 317 RectWithLocalMatrixInfo(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect& devRect, const SkMatrix& localMatrix) argument 321 const SkMatrix& localMatrix() const { return fLocalMatrix; } function in struct:final::RectWithLocalMatrixInfo 354 Make(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix, const SkRect& rect, const SkRect& devRect) argument 363 Make(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix, const SkRect& rect) argument 378 SkMatrix localMatrix; local 403 SkMatrix localMatrix = GrTest::TestMatrix(random); local [all...] |
H A D | GrAAFillRectOp.h | 26 const SkMatrix& localMatrix, 31 const SkMatrix& localMatrix,
|
H A D | GrNonAAFillRectOp.cpp | 75 const SkRect* localRect, const SkMatrix* localMatrix) 77 SkASSERT(!viewMatrix.hasPerspective() && (!localMatrix || !localMatrix->hasPerspective())); 82 if (localRect && localMatrix) { 83 info.fLocalQuad.setFromMappedRect(*localRect, *localMatrix); 86 } else if (localMatrix) { 87 info.fLocalQuad.setFromMappedRect(rect, *localMatrix); 184 const SkMatrix* localMatrix) { 186 new NonAAFillRectOp(color, viewMatrix, rect, localRect, localMatrix)); 201 SkMatrix localMatrix local 74 NonAAFillRectOp(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument 180 Make(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix) argument [all...] |
/external/skia/gm/ |
H A D | pictureshader.cpp | 66 SkMatrix ctm, localMatrix; variable 69 localMatrix.setScale(2, 2); 70 this->drawScene(canvas, ctm, localMatrix, 0); 73 localMatrix.setScale(-1, -1); 74 this->drawScene(canvas, ctm, localMatrix, 0); 78 this->drawScene(canvas, ctm, localMatrix, 0); 82 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4); 83 localMatrix.preRotate(45); 84 localMatrix.preScale(-2, -2); 85 this->drawScene(canvas, ctm, localMatrix, 91 SkMatrix ctm, localMatrix; local 141 drawScene(SkCanvas* canvas, const SkMatrix& matrix, const SkMatrix& localMatrix, unsigned tileMode) argument [all...] |
H A D | gradients_2pt_conical.cpp | 42 SkShader::TileMode tm, const SkMatrix& localMatrix) { 49 data.fPos, data.fCount, tm, 0, &localMatrix); 53 SkShader::TileMode tm, const SkMatrix& localMatrix) { 60 data.fPos, data.fCount, tm, 0, &localMatrix); 64 SkShader::TileMode tm, const SkMatrix& localMatrix) { 73 0, &localMatrix); 77 SkShader::TileMode tm, const SkMatrix& localMatrix) { 86 0, &localMatrix); 90 SkShader::TileMode tm, const SkMatrix& localMatrix) { 99 0, &localMatrix); 41 Make2ConicalOutside(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 52 Make2ConicalOutsideFlip(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 63 Make2ConicalInside(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 76 Make2ConicalInsideFlip(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 89 Make2ConicalInsideCenter(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 102 Make2ConicalZeroRad(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 115 Make2ConicalZeroRadFlip(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 128 Make2ConicalZeroRadCenter(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 140 Make2ConicalZeroRadOutside(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 153 Make2ConicalZeroRadFlipOutside(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 165 Make2ConicalEdgeX(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 177 Make2ConicalEdgeY(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 189 Make2ConicalZeroRadEdgeX(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 202 Make2ConicalZeroRadEdgeY(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 214 Make2ConicalTouchX(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 226 Make2ConicalTouchY(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument 238 Make2ConicalInsideSmallRad(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm, const SkMatrix& localMatrix) argument [all...] |
H A D | shaderbounds.cpp | 14 const SkMatrix& localMatrix) { 23 0, &localMatrix); 31 bool alternate, const SkMatrix& localMatrix); 13 MakeLinear(SkScalar width, SkScalar height, bool alternate, const SkMatrix& localMatrix) argument
|
/external/skia/src/core/ |
H A D | SkLocalMatrixShader.h | 20 SkLocalMatrixShader(sk_sp<SkShader> proxy, const SkMatrix& localMatrix) argument 21 : INHERITED(&localMatrix) 33 sk_sp<SkShader> makeAsALocalMatrixShader(SkMatrix* localMatrix) const override { 34 if (localMatrix) { 35 *localMatrix = this->getLocalMatrix();
|
H A D | SkShader.cpp | 48 SkShader::SkShader(const SkMatrix* localMatrix) { argument 50 if (localMatrix) { 51 fLocalMatrix = *localMatrix; 231 const SkMatrix* localMatrix) { 232 if (localMatrix && !localMatrix->invert(nullptr)) { 235 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); 239 const SkMatrix* localMatrix, const SkRect* tile) { 240 if (localMatrix && !localMatrix 230 MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, const SkMatrix* localMatrix) argument 238 MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy, const SkMatrix* localMatrix, const SkRect* tile) argument [all...] |
H A D | SkImagePriv.h | 26 const SkMatrix* localMatrix, SkCopyPixelsMode);
|
H A D | SkLocalMatrixShader.cpp | 92 sk_sp<SkShader> SkShader::makeWithLocalMatrix(const SkMatrix& localMatrix) const { 93 if (localMatrix.isIdentity()) { 97 const SkMatrix* lm = &localMatrix; 103 otherLocalMatrix.preConcat(localMatrix);
|
/external/skia/src/image/ |
H A D | SkImageShader.h | 18 const SkMatrix* localMatrix); 29 SkImageShader(sk_sp<SkImage>, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
|
/external/skia/fuzz/ |
H A D | FuzzGradients.cpp | 71 const SkMatrix* localMatrix, 102 logOptionalMatrix("local matrix", localMatrix); 121 SkTLazy<SkMatrix> localMatrix; local 123 makeMatrix(fuzz, localMatrix.init()); 126 colors.size(), mode, flags, localMatrix.getMaybeNull())); 132 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); 137 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), nullptr); 159 SkTLazy<SkMatrix> localMatrix; local 161 makeMatrix(fuzz, localMatrix.init()); 164 pos.data(), colors.size(), mode, flags, localMatrix 66 logLinearGradient(const SkPoint pts[2], const std::vector<SkColor>& colors, const std::vector<SkScalar> pos, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix, const SkMatrix* globalMatrix) argument 197 SkTLazy<SkMatrix> localMatrix; local [all...] |
/external/skia/include/core/ |
H A D | SkShader.h | 42 SkShader(const SkMatrix* localMatrix = NULL); 241 * localMatrix, and tilemodes. If this is not a bitmap, returns false and ignores the 257 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const { argument 258 return this->onIsAImage(localMatrix, xy); 339 const SkMatrix* localMatrix, 344 , fLocalMatrix(localMatrix) 385 * Return a shader that will apply the specified localMatrix to this shader. 435 const SkMatrix* localMatrix = nullptr); 448 * affected by localMatrix and does not imply scaling (only translation 454 const SkMatrix* localMatrix, cons 337 AsFPArgs(GrContext* context, const SkMatrix* viewMatrix, const SkMatrix* localMatrix, SkFilterQuality filterQuality, SkColorSpace* dstColorSpace) argument [all...] |
/external/skia/include/effects/ |
H A D | SkGradientShader.h | 44 uint32_t flags, const SkMatrix* localMatrix); 66 uint32_t flags, const SkMatrix* localMatrix); 89 uint32_t flags, const SkMatrix* localMatrix); 112 uint32_t flags, const SkMatrix* localMatrix); 129 uint32_t flags, const SkMatrix* localMatrix); 149 uint32_t flags, const SkMatrix* localMatrix); 173 uint32_t flags, const SkMatrix* localMatrix); 194 uint32_t flags, const SkMatrix* localMatrix);
|
/external/skia/src/gpu/glsl/ |
H A D | GrGLSLGeometryProcessor.h | 27 void setTransformDataHelper(const SkMatrix& localMatrix, 48 const SkMatrix& localMatrix,
|
H A D | GrGLSLPrimitiveProcessor.cpp | 15 SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix, argument 18 combined.setConcat(coordTransform.getMatrix(), localMatrix);
|