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

1 2 3 4

  /external/skia/src/gpu/batches/
GrNonAAFillRectBatch.h 23 const SkMatrix* localMatrix);
29 const SkMatrix* localMatrix);
35 const SkMatrix* localMatrix);
GrRectBatchFactory.h 31 const SkMatrix* localMatrix) {
32 if (viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective())) {
34 localMatrix);
36 return GrNonAAFillRectBatch::Create(color, viewMatrix, rect, localRect, localMatrix);
49 const SkMatrix& localMatrix,
52 return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect);
GrAAFillRectBatch.h 26 const SkMatrix& localMatrix,
31 const SkMatrix& localMatrix,
49 const SkMatrix& localMatrix,
GrNonAAFillRectBatch.cpp 57 const SkMatrix* localMatrix) {
63 // the local rect on the cpu (in case the localMatrix also has perspective).
64 // Otherwise, if we have a local rect, then we apply the localMatrix directly to the localRect
69 localMatrix);
75 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix);
218 const SkRect* localRect, const SkMatrix* localMatrix) {
219 SkASSERT(!viewMatrix.hasPerspective() && (!localMatrix || !localMatrix->hasPerspective()));
226 if (localRect && localMatrix) {
227 geo.fLocalQuad.setFromMappedRect(*localRect, *localMatrix);
    [all...]
GrAAFillRectBatch.cpp 83 const SkMatrix* localMatrix) {
131 if (localMatrix) {
138 localCoordMatrix.setConcat(*localMatrix, invViewMatrix);
320 const SkMatrix& viewMatrix, const SkMatrix& localMatrix,
325 geo.fLocalMatrix = localMatrix;
344 const SkMatrix& localMatrix,
348 append_to_batch(batch, color, viewMatrix, localMatrix, rect, devRect);
355 const SkMatrix& localMatrix,
359 return Create(color, viewMatrix, localMatrix, rect, devRect);
368 SkMatrix localMatrix;
    [all...]
  /external/skia/src/core/
SkLocalMatrixShader.h 17 SkLocalMatrixShader(SkShader* proxy, const SkMatrix& localMatrix)
18 : INHERITED(&localMatrix)
32 const SkMatrix* localMatrix,
35 if (localMatrix) {
36 tmp.preConcat(*localMatrix);
42 SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const override {
43 if (localMatrix) {
44 *localMatrix = this->getLocalMatrix();
SkLocalMatrixShader.cpp 50 SkShader* SkShader::newWithLocalMatrix(const SkMatrix& localMatrix) const {
51 if (localMatrix.isIdentity()) {
55 const SkMatrix* lm = &localMatrix;
61 otherLocalMatrix.preConcat(localMatrix);
SkBitmapProcShader.h 22 const SkMatrix* localMatrix = nullptr);
83 const SkMatrix* localMatrix, SkTBlitterAllocator* alloc);
  /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/effects/gradients/
SkTwoPointConicalGradient_gpu.h 22 SkShader::TileMode tm, const SkMatrix* localMatrix);
  /external/skia/src/gpu/
GrPathProcessor.h 22 const SkMatrix& localMatrix = SkMatrix::I()) {
23 return new GrPathProcessor(color, overrides, viewMatrix, localMatrix);
30 const SkMatrix& localMatrix() const { return fLocalMatrix; }
47 const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
  /external/skia/gm/
pictureshader.cpp 65 SkMatrix ctm, localMatrix;
68 localMatrix.setScale(2, 2);
69 this->drawScene(canvas, ctm, localMatrix, 0);
72 localMatrix.setScale(-1, -1);
73 this->drawScene(canvas, ctm, localMatrix, 0);
77 this->drawScene(canvas, ctm, localMatrix, 0);
81 localMatrix.setTranslate(fTileSize / 4, fTileSize / 4);
82 localMatrix.preRotate(45);
83 localMatrix.preScale(-2, -2);
84 this->drawScene(canvas, ctm, localMatrix, 0)
    [all...]
gradients_2pt_conical.cpp 41 SkShader::TileMode tm, const SkMatrix& localMatrix) {
50 data.fCount, tm, 0, &localMatrix);
54 SkShader::TileMode tm, const SkMatrix& localMatrix) {
63 data.fCount, tm, 0, &localMatrix);
67 SkShader::TileMode tm, const SkMatrix& localMatrix) {
76 0, &localMatrix);
80 SkShader::TileMode tm, const SkMatrix& localMatrix) {
89 0, &localMatrix);
93 SkShader::TileMode tm, const SkMatrix& localMatrix) {
102 0, &localMatrix);
    [all...]
gradient_matrix.cpp 64 static SkShader* make_linear_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) {
66 SkShader::kClamp_TileMode, 0, &localMatrix);
69 static SkShader* make_radial_gradient(const SkPoint pts[2], const SkMatrix& localMatrix) {
75 SkShader::kClamp_TileMode, 0, &localMatrix);
  /external/skia/src/image/
SkImageShader.h 16 static SkShader* Create(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
38 SkImageShader(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
SkImageShader.cpp 55 const SkMatrix* localMatrix) {
59 return new SkImageShader(image, tx, ty, localMatrix);
88 const SkMatrix* localMatrix,
97 if (localMatrix) {
99 if (!localMatrix->invert(&inv)) {
  /external/skia/src/gpu/effects/
GrBitmapTextGeoProc.h 25 GrMaskFormat format, const SkMatrix& localMatrix,
27 return new GrBitmapTextGeoProc(color, tex, p, format, localMatrix, usesLocalCoords);
41 const SkMatrix& localMatrix() const { return fLocalMatrix; }
50 GrMaskFormat format, const SkMatrix& localMatrix, bool usesLocalCoords);
GrBezierEffect.h 65 const SkMatrix& localMatrix,
74 localMatrix, usesLocalCoords);
80 kHairlineAA_GrProcessorEdgeType, localMatrix,
84 localMatrix, usesLocalCoords);
102 const SkMatrix& localMatrix() const { return fLocalMatrix; }
112 const SkMatrix& localMatrix, bool usesLocalCoords);
145 const SkMatrix& localMatrix,
154 localMatrix, usesLocalCoords);
160 kHairlineAA_GrProcessorEdgeType, localMatrix,
164 localMatrix, usesLocalCoords)
    [all...]
  /external/skia/src/gpu/glsl/
GrGLSLPrimitiveProcessor.cpp 15 SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix,
18 // We only apply the localmatrix to localcoords
20 combined.setConcat(coordTransform.getMatrix(), localMatrix);
GrGLSLGeometryProcessor.h 40 this->setTransformDataMatrix(gp.localMatrix(), pdman, index, transforms);
62 const SkMatrix& localMatrix,
99 void setTransformDataMatrix(const SkMatrix& localMatrix,
107 const SkMatrix& transform = GetTransformMatrix(localMatrix, *transforms[t]);
  /external/skia/include/effects/
SkGradientShader.h 48 uint32_t flags, const SkMatrix* localMatrix);
75 uint32_t flags, const SkMatrix* localMatrix);
93 uint32_t flags, const SkMatrix* localMatrix);
120 uint32_t flags, const SkMatrix* localMatrix);
  /frameworks/base/libs/hwui/
RecordedOp.h 153 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint
154 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip
155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint)
156 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr)
166 const Matrix4 localMatrix;
177 , 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...]
  /frameworks/base/libs/hwui/tests/unit/
SkiaCanvasTests.cpp 60 EXPECT_EQ(directOp->localMatrix, pictureOp->localMatrix);
  /external/skia/include/core/
SkShader.h 38 SkShader(const SkMatrix* localMatrix = NULL);
203 * localMatrix, and tilemodes. If this is not a bitmap, returns false and ignores the
299 const SkMatrix* localMatrix,
324 * Return a shader that will apply the specified localMatrix to this shader.
377 const SkMatrix* localMatrix = NULL);
390 * affected by localMatrix and does not imply scaling (only translation
397 const SkMatrix* localMatrix,
401 * If this shader can be represented by another shader + a localMatrix, return that shader
402 * and, if not NULL, the localMatrix. If not, return NULL and ignore the localMatrix parameter
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapShader_Delegate.java 123 AffineTransform localMatrix = getLocalMatrix();
125 localMatrix = localMatrix.createInverse();
129 localMatrix = new AffineTransform();
137 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel);
148 AffineTransform localMatrix,
151 mLocalMatrix = localMatrix;

Completed in 777 milliseconds

1 2 3 4