/external/skia/include/c/ |
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/ |
GrPathProcessor.h | 21 const SkMatrix& localMatrix = SkMatrix::I()) { 22 return new GrPathProcessor(color, viewMatrix, localMatrix); 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } 41 GrPathProcessor(GrColor, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
|
/external/skia/gm/ |
pictureshader.cpp | 66 SkMatrix ctm, localMatrix; 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, 0) [all...] |
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); [all...] |
shaderbounds.cpp | 14 const SkMatrix& localMatrix) { 23 0, &localMatrix); 31 bool alternate, const SkMatrix& localMatrix);
|
/external/skia/src/shaders/ |
SkLocalMatrixShader.h | 21 SkLocalMatrixShader(sk_sp<SkShader> proxy, const SkMatrix& localMatrix) 22 : INHERITED(&localMatrix) 34 sk_sp<SkShader> makeAsALocalMatrixShader(SkMatrix* localMatrix) const override { 35 if (localMatrix) { 36 *localMatrix = this->getLocalMatrix();
|
SkShader.cpp | 50 SkShaderBase::SkShaderBase(const SkMatrix* localMatrix) 51 : fLocalMatrix(localMatrix ? *localMatrix : SkMatrix::I()) { 228 SkImage* SkShader::isAImage(SkMatrix* localMatrix, TileMode xy[2]) const { 229 return as_SB(this)->onIsAImage(localMatrix, xy); 251 const SkMatrix* localMatrix) { 252 if (localMatrix && !localMatrix->invert(nullptr)) { 255 return SkMakeBitmapShader(src, tmx, tmy, localMatrix, kIfMutable_SkCopyPixelsMode); 259 const SkMatrix* localMatrix, const SkRect* tile) [all...] |
SkLocalMatrixShader.cpp | 91 sk_sp<SkShader> SkShader::makeWithLocalMatrix(const SkMatrix& localMatrix) const { 92 if (localMatrix.isIdentity()) { 96 const SkMatrix* lm = &localMatrix; 102 otherLocalMatrix.preConcat(localMatrix);
|
SkImageShader.h | 19 const SkMatrix* localMatrix); 30 SkImageShader(sk_sp<SkImage>, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
|
/external/skia/src/gpu/effects/ |
GrBitmapTextGeoProc.h | 26 GrMaskFormat format, const SkMatrix& localMatrix, 30 localMatrix, usesLocalCoords)); 43 const SkMatrix& localMatrix() const { return fLocalMatrix; } 53 GrMaskFormat format, const SkMatrix& localMatrix, bool usesLocalCoords);
|
GrBezierEffect.h | 64 const SkMatrix& localMatrix, 74 localMatrix, usesLocalCoords)); 81 kHairlineAA_GrProcessorEdgeType, localMatrix, 86 localMatrix, usesLocalCoords)); 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } 113 const SkMatrix& localMatrix, bool usesLocalCoords); 146 const SkMatrix& localMatrix, 156 localMatrix, usesLocalCoords)); 163 kHairlineAA_GrProcessorEdgeType, localMatrix, 168 localMatrix, usesLocalCoords)) [all...] |
/external/skia/src/gpu/ops/ |
GrNonAAFillRectOp.cpp | 40 const SkMatrix* localMatrix) { 41 SkASSERT(viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective())); 46 // the local rect on the cpu (in case the localMatrix also has perspective). 47 // Otherwise, if we have a local rect, then we apply the localMatrix directly to the localRect 52 localMatrix); 56 LocalCoords localCoords(LocalCoords::kHasExplicit_Type, localMatrix); 60 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix); 109 const SkMatrix* localMatrix, GrAAType aaType, 113 localMatrix, aaType, stencilSettings) [all...] |
GrAAFillRectOp.cpp | 61 const SkMatrix* localMatrix) { 111 if (localMatrix) { 118 localCoordMatrix.setConcat(*localMatrix, invViewMatrix); 174 const SkMatrix* localMatrix, 178 localMatrix, stencil); 186 const SkMatrix* localMatrix, 189 if (localMatrix) { 191 new (mem) RectWithLocalMatrixInfo(color, viewMatrix, rect, devRect, *localMatrix); 260 const SkMatrix* localMatrix = nullptr; 266 localMatrix = &static_cast<const RectWithLocalMatrixInfo*>(info)->localMatrix() [all...] |
GrRectOpFactory.h | 35 const SkMatrix& localMatrix, const SkRect&); 46 const SkMatrix& localMatrix, const SkRect&,
|
/external/skia/fuzz/ |
FuzzGradients.cpp | 71 const SkMatrix* localMatrix, 102 logOptionalMatrix("local matrix", localMatrix); 121 SkTLazy<SkMatrix> localMatrix; 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; 161 makeMatrix(fuzz, localMatrix.init()); 164 pos.data(), colors.size(), mode, flags, localMatrix.getMaybeNull())) [all...] |
/frameworks/base/libs/hwui/ |
RecordedOp.h | 154 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint 155 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip 156 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 157 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr) 167 const Matrix4 localMatrix; 178 , localMatrix(localMatrix) 249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, 251 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) 273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor [all...] |
/external/skia/include/core/ |
SkShader.h | 86 * localMatrix, and tilemodes. If this is not a bitmap, returns false and ignores the 100 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const; 173 * Return a shader that will apply the specified localMatrix to this shader. 254 const SkMatrix* localMatrix = nullptr); 267 * affected by localMatrix and does not imply scaling (only translation 273 const SkMatrix* localMatrix, const SkRect* tile); 276 * If this shader can be represented by another shader + a localMatrix, return that shader and 277 * the localMatrix. If not, return nullptr and ignore the localMatrix parameter. 280 virtual sk_sp<SkShader> makeAsALocalMatrixShader(SkMatrix* localMatrix) const [all...] |
/external/skia/src/core/ |
SkImagePriv.h | 26 const SkMatrix* localMatrix, SkCopyPixelsMode);
|
/external/skia/include/effects/ |
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/ |
GrGLSLGeometryProcessor.h | 27 void setTransformDataHelper(const SkMatrix& localMatrix, 48 const SkMatrix& localMatrix,
|
GrGLSLPrimitiveProcessor.cpp | 17 SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix, 20 combined.setConcat(coordTransform.getMatrix(), localMatrix);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
BitmapShader_Delegate.java | 124 AffineTransform localMatrix = getLocalMatrix(); 126 localMatrix = localMatrix.createInverse(); 130 localMatrix = new AffineTransform(); 138 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); 149 AffineTransform localMatrix, 152 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 | 128 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 130 localMatrix = localMatrix.createInverse(); 134 localMatrix = new java.awt.geom.AffineTransform(); 137 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); 148 java.awt.geom.AffineTransform localMatrix, 151 mLocalMatrix = localMatrix;
|
SweepGradient_Delegate.java | 121 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); 123 localMatrix = localMatrix.createInverse(); 127 localMatrix = new java.awt.geom.AffineTransform(); 130 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); 141 java.awt.geom.AffineTransform localMatrix, 144 mLocalMatrix = localMatrix;
|