HomeSort by relevance Sort by last modified time
    Searched refs:localMatrix (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /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/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);
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)
80 : fLocalMatrix(localMatrix) {
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.h 24 const SkMatrix* localMatrix);
30 const SkMatrix* localMatrix);
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);
GrAAFillRectOp.h 26 const SkMatrix& localMatrix,
31 const SkMatrix& localMatrix,
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...]
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...]
  /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...]
  /external/skia/src/core/
SkLocalMatrixShader.h 20 SkLocalMatrixShader(sk_sp<SkShader> proxy, const SkMatrix& localMatrix)
21 : INHERITED(&localMatrix)
33 sk_sp<SkShader> makeAsALocalMatrixShader(SkMatrix* localMatrix) const override {
34 if (localMatrix) {
35 *localMatrix = this->getLocalMatrix();
SkShader.cpp 48 SkShader::SkShader(const SkMatrix* localMatrix) {
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->invert(nullptr))
    [all...]
SkImagePriv.h 26 const SkMatrix* localMatrix, SkCopyPixelsMode);
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/
SkImageShader.h 18 const SkMatrix* localMatrix);
29 SkImageShader(sk_sp<SkImage>, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
  /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 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 {
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, const SkRect* tile)
    [all...]
  /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 15 SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix,
18 combined.setConcat(coordTransform.getMatrix(), localMatrix);

Completed in 4176 milliseconds

1 2 3 4