/external/skia/src/core/ |
SkShader.cpp | 40 SkShader::SkShader(const SkMatrix* localMatrix) { 42 if (localMatrix) { 43 fLocalMatrix = *localMatrix; 235 const SkMatrix* localMatrix) { 236 return SkCreateBitmapShader(src, tmx, tmy, localMatrix, NULL); 240 const SkMatrix* localMatrix, const SkRect* tile) { 241 return SkPictureShader::Create(src, tmx, tmy, localMatrix, tile);
|
SkBitmapProcShader.cpp | 35 const SkMatrix* localMatrix) 36 : INHERITED(localMatrix) { 317 SkShader::TileMode tmy, const SkMatrix* localMatrix, 336 shader = SkNEW_ARGS(SkBitmapProcShader, (src, tmx, tmy, localMatrix)); 338 shader = allocator->createT<SkBitmapProcShader>(src, tmx, tmy, localMatrix); 377 const SkMatrix* localMatrix, GrColor* paintColor, 386 if (localMatrix) { 388 if (!localMatrix->invert(&inv)) {
|
SkPictureShader.cpp | 32 const SkMatrix& localMatrix) 40 fLocalMatrixStorage[i] = localMatrix[i]; 105 const SkMatrix* localMatrix, const SkRect* tile) 106 : INHERITED(localMatrix) 118 const SkMatrix* localMatrix, const SkRect* tile) { 122 return SkNEW_ARGS(SkPictureShader, (picture, tmx, tmy, localMatrix, tile)); 310 const SkMatrix& viewM, const SkMatrix* localMatrix, 317 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize));
|
SkPictureShader.h | 44 SkShader* refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix, const int maxTextureSize = 0) const;
|
/external/skia/gm/ |
gradients.cpp | 43 SkShader::TileMode tm, const SkMatrix& localMatrix) { 45 data.fCount, tm, 0, &localMatrix); 49 SkShader::TileMode tm, const SkMatrix& localMatrix) { 54 data.fPos, data.fCount, tm, 0, &localMatrix); 58 SkShader::TileMode, const SkMatrix& localMatrix) { 63 data.fPos, data.fCount, 0, &localMatrix); 67 SkShader::TileMode tm, const SkMatrix& localMatrix) { 77 0, &localMatrix); 81 SkShader::TileMode tm, const SkMatrix& localMatrix) { 90 data.fCount, tm, 0, &localMatrix); [all...] |
pictureshadertile.cpp | 112 SkMatrix localMatrix; 113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, 115 localMatrix.postScale(kFillSize / (2 * kPictureSize), 130 &localMatrix,
|
/external/skia/include/core/ |
SkImage.h | 99 const SkMatrix* localMatrix = NULL) const;
|
/external/skia/src/gpu/ |
GrDefaultGeoProcFactory.h | 87 const SkMatrix& localMatrix = SkMatrix::I(),
|
GrAARectRenderer.cpp | 34 const SkMatrix& localMatrix) { 38 gp = GrDefaultGeoProcFactory::Create(flags, GrColor_WHITE, SkMatrix::I(), localMatrix); 41 gp = GrDefaultGeoProcFactory::Create(flags, GrColor_WHITE, SkMatrix::I(), localMatrix); 91 SkMatrix localMatrix; 92 if (this->usesLocalCoords() && !this->viewMatrix().invert(&localMatrix)) { 98 localMatrix)); 449 SkMatrix localMatrix; 450 if (this->usesLocalCoords() && !this->viewMatrix().invert(&localMatrix)) { 456 localMatrix)); [all...] |
GrAAConvexPathRenderer.cpp | 528 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& localMatrix) { 529 return SkNEW_ARGS(QuadEdgeEffect, (color, localMatrix)); 539 const SkMatrix& localMatrix() const { return fLocalMatrix; } 570 qe.localMatrix(), args.fTransformsIn, args.fTransformsOut); 604 key |= local.fUsesLocalCoords && qee.localMatrix().hasPerspective() ? 0x1 : 0x0; 652 QuadEdgeEffect(GrColor color, const SkMatrix& localMatrix) 654 , fLocalMatrix(localMatrix) { 735 const SkMatrix& localMatrix) { 741 return GrDefaultGeoProcFactory::Create(flags, GrColor_WHITE, SkMatrix::I(), localMatrix); [all...] |
/external/skia/src/gpu/effects/ |
GrBitmapTextGeoProc.cpp | 61 cte.localMatrix(), args.fTransformsIn, args.fTransformsOut); 109 key |= local.fUsesLocalCoords && gp.localMatrix().hasPerspective() ? 0x2 : 0x0; 125 const SkMatrix& localMatrix) 127 , fLocalMatrix(localMatrix)
|
GrDashingEffect.cpp | 244 const SkMatrix& localMatrix); 774 const SkMatrix& localMatrix); 788 const SkMatrix& localMatrix() const { return fLocalMatrix; } 800 DashingCircleEffect(GrColor, DashAAMode aaMode, const SkMatrix& localMatrix); [all...] |
GrBezierEffect.cpp | 98 this->emitTransforms(pb, gpArgs->fPositionVar, gp.inPosition()->fName, gp.localMatrix(), 180 key |= local.fUsesLocalCoords && ce.localMatrix().hasPerspective() ? 0x10 : 0x0; 201 GrPrimitiveEdgeType edgeType, const SkMatrix& localMatrix) 327 this->emitTransforms(pb, gpArgs->fPositionVar, gp.inPosition()->fName, gp.localMatrix(), 395 key |= local.fUsesLocalCoords && ce.localMatrix().hasPerspective() ? 0x10 : 0x0; 416 GrPrimitiveEdgeType edgeType, const SkMatrix& localMatrix) 419 , fLocalMatrix(localMatrix)
|
/external/skia/src/image/ |
SkImage_Base.h | 57 const SkMatrix* localMatrix) const { return NULL; };
|
SkImage.cpp | 55 const SkMatrix* localMatrix) const { 56 return as_IB(this)->onNewShader(tileX, tileY, localMatrix);
|
SkImage_Raster.cpp | 69 const SkMatrix* localMatrix) const override; 117 const SkMatrix* localMatrix) const { 118 return SkShader::CreateBitmapShader(fBitmap, tileX, tileY, localMatrix);
|
SkImage_Gpu.cpp | 42 const SkMatrix* localMatrix) const { 45 return SkShader::CreateBitmapShader(bm, tileX, tileY, localMatrix);
|
/external/skia/src/gpu/gl/ |
GrGLGeometryProcessor.cpp | 22 const SkMatrix& localMatrix, 39 type |= localMatrix.getType();
|
GrGLPrimitiveProcessor.h | 74 static SkMatrix GetTransformMatrix(const SkMatrix& localMatrix, const GrCoordTransform&);
|
/external/skia/include/device/xps/ |
SkXPSDevice.h | 206 const SkMatrix& localMatrix, 214 const SkMatrix& localMatrix, 221 const SkMatrix& localMatrix,
|
/external/skia/include/gpu/ |
GrContext.h | 266 * @param localMatrix an optional matrix to transform the shader coordinates before applying 275 const SkMatrix* localMatrix = NULL); 278 * Draws a non-AA rect with paint and a localMatrix 285 const SkMatrix& localMatrix) { 286 this->drawNonAARectToRect(rt, clip, paint, viewMatrix, rect, rect, &localMatrix);
|
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 757 SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) { 763 desc->fLocalMatrix = localMatrix; 771 const SkMatrix* localMatrix) { 781 desc_init(&desc, colors, pos, colorCount, mode, flags, localMatrix); 790 const SkMatrix* localMatrix) { 800 desc_init(&desc, colors, pos, colorCount, mode, flags, localMatrix); 813 const SkMatrix* localMatrix) { 831 desc_init(&desc, colors, pos, colorCount, mode, flags, localMatrix); 845 desc_init(&desc, colorsNew.get(), posNew.get(), colorCount, mode, flags, localMatrix); 847 desc_init(&desc, colorsNew.get(), NULL, colorCount, mode, flags, localMatrix); [all...] |
SkSweepGradient.cpp | 299 const SkMatrix* localMatrix, GrColor* paintColor, 306 if (localMatrix) { 308 if (!localMatrix->invert(&inv)) {
|
/external/skia/samplecode/ |
SampleLayers.cpp | 30 static void make_paint(SkPaint* paint, const SkMatrix& localMatrix) { 34 0, &localMatrix);
|
/external/skia/src/device/xps/ |
SkXPSDevice.cpp | 631 const SkMatrix& localMatrix, 812 HR(this->createXpsTransform(localMatrix, &xpsMatrixToUse)); 837 const SkMatrix& localMatrix, 848 localMatrix); 849 startPoint = xps_point(info.fPoint[0], localMatrix); 850 endPoint = xps_point(info.fPoint[1], localMatrix); [all...] |