/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);
|
GrDefaultGeoProcFactory.cpp | 36 const SkMatrix& localMatrix, 40 gpTypeFlags, color, viewMatrix, localMatrix, coverage, localCoordsWillBeRead)); 52 const SkMatrix& localMatrix() const { return fLocalMatrix; } 105 gp.localMatrix(), 114 gp.localMatrix(), 142 key |= (def.localCoordsWillBeRead() && def.localMatrix().hasPerspective()) ? 0x20 : 0x0; 196 const SkMatrix& localMatrix, 201 , fLocalMatrix(localMatrix)
|
/external/skia/src/gpu/effects/ |
GrShadowGeoProc.h | 22 static sk_sp<GrGeometryProcessor> Make(const SkMatrix& localMatrix) { 23 return sk_sp<GrGeometryProcessor>(new GrRRectShadowGeoProc(localMatrix)); 34 const SkMatrix& localMatrix() const { return fLocalMatrix; } 41 GrRRectShadowGeoProc(const SkMatrix& localMatrix);
|
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/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...] |
pictureshadertile.cpp | 112 SkMatrix localMatrix; 113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, 115 localMatrix.postScale(kFillSize / (2 * kPictureSize), 128 SkShader::kRepeat_TileMode, &localMatrix,
|
vertices.cpp | 23 const SkMatrix localMatrix = SkMatrix::MakeScale(shaderScale, shaderScale); 28 &localMatrix);
|
/external/skia/src/gpu/ops/ |
GrDrawPathOp.cpp | 179 SkMatrix localMatrix; 180 localMatrix.setScale(fScale, fScale); 181 localMatrix.preTranslate(head.fX, head.fY); 184 GrPathProcessor::Create(this->color(), drawMatrix, localMatrix));
|
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 = GrTest::TestMatrix(random) [all...] |
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; 250 localMatrix = &static_cast<const RectWithLocalMatrixInfo*>(info)->localMatrix(); 252 localMatrix = &SkMatrix::I() [all...] |
GrAnalyticRectOp.cpp | 54 RectGeometryProcessor(const SkMatrix& localMatrix) : fLocalMatrix(localMatrix) { 70 const SkMatrix& localMatrix() const { return fLocalMatrix; } 120 rgp.localMatrix(), 286 SkMatrix localMatrix; 287 if (!fViewMatrixIfUsingLocalCoords.invert(&localMatrix)) { 292 sk_sp<GrGeometryProcessor> gp(new RectGeometryProcessor(localMatrix));
|
GrAtlasTextOp.cpp | 79 // if we have RGB, then we won't have any SkShaders so no need to use a localmatrix. 81 SkMatrix localMatrix; 82 if (this->usesLocalCoords() && !this->viewMatrix().invert(&localMatrix)) { 106 maskFormat, localMatrix, this->usesLocalCoords());
|
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 && localMatrix->hasPerspective())) [all...] |
GrDefaultPathRenderer.cpp | 533 SkMatrix localMatrix = SkMatrix::I(); 542 if (!viewMatrix.invert(&localMatrix)) { 552 paint.getColor(), viewM, bounds, nullptr, &localMatrix));
|
GrShadowRRectOp.cpp | 159 SkMatrix localMatrix; 160 if (!fViewMatrixIfUsingLocalCoords.invert(&localMatrix)) { 165 sk_sp<GrGeometryProcessor> gp(GrRRectShadowGeoProc::Make(localMatrix)); 655 SkMatrix localMatrix; 656 if (!fViewMatrixIfUsingLocalCoords.invert(&localMatrix)) { 661 sk_sp<GrGeometryProcessor> gp(GrRRectShadowGeoProc::Make(localMatrix)); [all...] |
/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...] |
/external/skia/src/core/ |
SkGpuBlurUtils.cpp | 88 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), 91 SkRect::Make(dstRect), localMatrix); 104 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), 121 SkRect::Make(dstRect), localMatrix);
|
/frameworks/base/tools/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;
|
/external/skia/src/effects/ |
SkPerlinNoiseShader.cpp | [all...] |
/external/skia/tests/ |
GradientTest.cpp | 459 SkTLazy<SkMatrix> localMatrix; 461 localMatrix.init(); 462 localMatrix.get()->set9(config.fLocalMatrix); 471 localMatrix.getMaybeNull()));
|
/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...] |