Home
last modified time | relevance | path

Searched refs:fMatrix (Results 1 – 25 of 153) sorted by relevance

1234567

/external/skqp/bench/
DMatrixBench.cpp115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], in performTest()
120 junk ^= (fMatrix.getType()); in performTest()
121 fMatrix.dirtyMatrixTypeCache(); in performTest()
122 junk ^= (fMatrix.getType()); in performTest()
123 fMatrix.dirtyMatrixTypeCache(); in performTest()
124 junk ^= (fMatrix.getType()); in performTest()
125 fMatrix.dirtyMatrixTypeCache(); in performTest()
126 junk ^= (fMatrix.getType()); in performTest()
127 fMatrix.dirtyMatrixTypeCache(); in performTest()
128 junk ^= (fMatrix.getType()); in performTest()
[all …]
DQuickRejectBench.cpp42 SkMatrix fMatrix; member in ConcatBench
49 fMatrix.setScale(5.0f, 5.0f); in onDelayedSetup()
50 fMatrix.setTranslateX(10.0f); in onDelayedSetup()
51 fMatrix.setTranslateY(10.0f); in onDelayedSetup()
57 canvas->concat(fMatrix); in onDraw()
/external/skia/bench/
DMatrixBench.cpp115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], in performTest()
120 junk ^= (fMatrix.getType()); in performTest()
121 fMatrix.dirtyMatrixTypeCache(); in performTest()
122 junk ^= (fMatrix.getType()); in performTest()
123 fMatrix.dirtyMatrixTypeCache(); in performTest()
124 junk ^= (fMatrix.getType()); in performTest()
125 fMatrix.dirtyMatrixTypeCache(); in performTest()
126 junk ^= (fMatrix.getType()); in performTest()
127 fMatrix.dirtyMatrixTypeCache(); in performTest()
128 junk ^= (fMatrix.getType()); in performTest()
[all …]
DQuickRejectBench.cpp42 SkMatrix fMatrix; member in ConcatBench
49 fMatrix.setScale(5.0f, 5.0f); in onDelayedSetup()
50 fMatrix.setTranslateX(10.0f); in onDelayedSetup()
51 fMatrix.setTranslateY(10.0f); in onDelayedSetup()
57 canvas->concat(fMatrix); in onDraw()
/external/skqp/src/core/
DSkColorMatrixFilterRowMajor255.cpp38 transpose_and_scale01(fTranspose, fMatrix); in initState()
40 const float* array = fMatrix; in initState()
56 memcpy(fMatrix, array, 20 * sizeof(SkScalar)); in SkColorMatrixFilterRowMajor255()
67 SkASSERT(sizeof(fMatrix)/sizeof(SkScalar) == 20); in flatten()
68 buffer.writeScalarArray(fMatrix, 20); in flatten()
81 memcpy(matrix, fMatrix, 20 * sizeof(SkScalar)); in asColorMatrix()
170 set_concat(concat, fMatrix, innerMatrix); in onMakeComposed()
193 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(fMatrix); } in clone()
228 const float* m = cme.fMatrix; in onSetData()
255 memcpy(fMatrix, matrix, sizeof(SkScalar) * 20); in ColorMatrixEffect()
[all …]
DSkImageFilterCache.h22 , fMatrix(matrix) in SkImageFilterCacheKey()
30 fMatrix.getType(); // force initialization of type, so hashes match in SkImageFilterCacheKey()
31 SkASSERT(fMatrix.isFinite()); // otherwise we can't rely on == self when comparing keys in SkImageFilterCacheKey()
35 SkMatrix fMatrix; member
42 fMatrix == other.fMatrix &&
DSkDraw.cpp59 if (!fMatrix->invert(&inverse)) { in computeConservativeLocalClipBounds()
358 if (!device && rec.init(mode, paint, fMatrix, fRC)) { in drawPoints()
362 const SkMatrix* matrix = fMatrix; in drawPoints()
446 *fMatrix, &cullRect)) { in drawPoints()
598 draw.fMatrix = matrix; in draw_rect_as_path()
618 combinedMatrixStorage.setConcat(*fMatrix, *paintMatrix); in drawRect()
622 matrix = fMatrix; in drawRect()
626 RectType rtype = ComputeRectType(paint, *fMatrix, &strokeSize); in drawRect()
636 fMatrix->mapPoints(rect_points(devRect), rect_points(paintRect), 2); in drawRect()
649 : compute_stroke_size(paint, *fMatrix); in drawRect()
[all …]
DSkPictureImageGenerator.cpp35 SkMatrix fMatrix; member in SkPictureImageGenerator
70 fMatrix = *matrix; in SkPictureImageGenerator()
72 fMatrix.reset(); in SkPictureImageGenerator()
88 canvas->drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels()
107 SkMatrix matrix = fMatrix; in onGenerateTexture()
DSkMultiPictureDraw.cpp15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw()
23 fMatrix = *matrix; in init()
25 fMatrix.setIdentity(); in init()
104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp38 transpose_and_scale01(fTranspose, fMatrix); in initState()
40 const float* array = fMatrix; in initState()
56 memcpy(fMatrix, array, 20 * sizeof(SkScalar)); in SkColorMatrixFilterRowMajor255()
67 SkASSERT(sizeof(fMatrix)/sizeof(SkScalar) == 20); in flatten()
68 buffer.writeScalarArray(fMatrix, 20); in flatten()
81 memcpy(matrix, fMatrix, 20 * sizeof(SkScalar)); in asColorMatrix()
170 set_concat(concat, fMatrix, innerMatrix); in onMakeComposed()
193 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(fMatrix); } in clone()
228 const float* m = cme.fMatrix; in onSetData()
255 memcpy(fMatrix, matrix, sizeof(SkScalar) * 20); in ColorMatrixEffect()
[all …]
DSkImageFilterCache.h22 , fMatrix(matrix) in SkImageFilterCacheKey()
30 fMatrix.getType(); // force initialization of type, so hashes match in SkImageFilterCacheKey()
31 SkASSERT(fMatrix.isFinite()); // otherwise we can't rely on == self when comparing keys in SkImageFilterCacheKey()
35 SkMatrix fMatrix; member
42 fMatrix == other.fMatrix &&
DSkDraw.cpp59 if (!fMatrix->invert(&inverse)) { in computeConservativeLocalClipBounds()
358 if (!device && rec.init(mode, paint, fMatrix, fRC)) { in drawPoints()
362 const SkMatrix* matrix = fMatrix; in drawPoints()
446 *fMatrix, &cullRect)) { in drawPoints()
598 draw.fMatrix = matrix; in draw_rect_as_path()
618 combinedMatrixStorage.setConcat(*fMatrix, *paintMatrix); in drawRect()
622 matrix = fMatrix; in drawRect()
626 RectType rtype = ComputeRectType(paint, *fMatrix, &strokeSize); in drawRect()
636 fMatrix->mapPoints(rect_points(devRect), rect_points(paintRect), 2); in drawRect()
649 : compute_stroke_size(paint, *fMatrix); in drawRect()
[all …]
DSkPictureImageGenerator.cpp35 SkMatrix fMatrix; member in SkPictureImageGenerator
70 fMatrix = *matrix; in SkPictureImageGenerator()
72 fMatrix.reset(); in SkPictureImageGenerator()
88 canvas->drawPicture(fPicture, &fMatrix, fPaint.getMaybeNull()); in onGetPixels()
114 SkMatrix matrix = fMatrix; in onGenerateTexture()
DSkMultiPictureDraw.cpp15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw()
23 fMatrix = *matrix; in init()
25 fMatrix.setIdentity(); in init()
104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint); in draw()
/external/skia/src/gpu/
DGrCoordTransform.h62 fMatrix = that.fMatrix;
75 return &fMatrix; in accessMatrix()
81 !fMatrix.cheapEqualTo(that.fMatrix)) { in hasSameEffectAs()
94 const SkMatrix& getMatrix() const { return fMatrix; } in getMatrix()
107 fMatrix = m;
118 SkMatrix fMatrix; variable
DGrDefaultGeoProcFactory.h69 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} in LocalCoords()
70 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { in LocalCoords()
73 bool hasLocalMatrix() const { return nullptr != fMatrix; } in hasLocalMatrix()
76 const SkMatrix* fMatrix; member
/external/skqp/src/gpu/
DGrCoordTransform.h62 fMatrix = that.fMatrix;
75 return &fMatrix; in accessMatrix()
81 !fMatrix.cheapEqualTo(that.fMatrix)) { in hasSameEffectAs()
94 const SkMatrix& getMatrix() const { return fMatrix; } in getMatrix()
107 fMatrix = m;
118 SkMatrix fMatrix; variable
DGrDefaultGeoProcFactory.h71 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} in LocalCoords()
72 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { in LocalCoords()
75 bool hasLocalMatrix() const { return nullptr != fMatrix; } in hasLocalMatrix()
78 const SkMatrix* fMatrix; member
/external/skqp/gm/
Dfilterindiabox.cpp54 fMatrix[0].setScale(horizScale, vertScale); in onOnceBeforeDraw()
55 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); in onOnceBeforeDraw()
60 SkMatrix fMatrix[2]; member in FilterIndiaBoxGM
82 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { in onDraw()
83 SkSize size = computeSize(fBM, fMatrix[i]); in onDraw()
87 draw_row(canvas, fBM, fMatrix[i], size.fWidth); in onDraw()
Dfilterbitmap.cpp55 fMatrix[0].setScale(scale, scale); in onOnceBeforeDraw()
56 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(scale, scale); in onOnceBeforeDraw()
59 fMatrix[2].setScale(0.7f, 1.05f); in onOnceBeforeDraw()
64 SkMatrix fMatrix[3]; member in FilterBitmapGM
88 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { in onDraw()
89 SkSize size = computeSize(fBM, fMatrix[i]); in onDraw()
93 draw_row(canvas, fBM, fMatrix[i], size.fWidth); in onDraw()
/external/skia/gm/
Dfilterindiabox.cpp54 fMatrix[0].setScale(horizScale, vertScale); in onOnceBeforeDraw()
55 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); in onOnceBeforeDraw()
60 SkMatrix fMatrix[2]; member in FilterIndiaBoxGM
82 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { in onDraw()
83 SkSize size = computeSize(fBM, fMatrix[i]); in onDraw()
87 draw_row(canvas, fBM, fMatrix[i], size.fWidth); in onDraw()
Dfilterbitmap.cpp55 fMatrix[0].setScale(scale, scale); in onOnceBeforeDraw()
56 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(scale, scale); in onOnceBeforeDraw()
59 fMatrix[2].setScale(0.7f, 1.05f); in onOnceBeforeDraw()
64 SkMatrix fMatrix[3]; member in FilterBitmapGM
88 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { in onDraw()
89 SkSize size = computeSize(fBM, fMatrix[i]); in onDraw()
93 draw_row(canvas, fBM, fMatrix[i], size.fWidth); in onDraw()
/external/skia/modules/sksg/include/
DSkSGTransform.h59 SG_ATTRIBUTE(Matrix, T, fMatrix) in SG_ATTRIBUTE() argument
62 explicit Matrix(const T& m) : fMatrix(m) {} in SG_ATTRIBUTE()
70 SkMatrix asMatrix () const override { return fMatrix; } in asMatrix()
71 SkMatrix44 asMatrix44() const override { return fMatrix; } in asMatrix44()
74 T fMatrix;
/external/skqp/modules/sksg/include/
DSkSGTransform.h59 SG_ATTRIBUTE(Matrix, T, fMatrix) in SG_ATTRIBUTE() argument
62 explicit Matrix(const T& m) : fMatrix(m) {} in SG_ATTRIBUTE()
70 SkMatrix asMatrix () const override { return fMatrix; } in asMatrix()
71 SkMatrix44 asMatrix44() const override { return fMatrix; } in asMatrix44()
74 T fMatrix;
/external/skia/src/gpu/effects/
DGrSimpleTextureEffect.cpp48 if (fMatrix != that.fMatrix) return false; in onIsEqual()
54 , fMatrix(src.fMatrix) in GrSimpleTextureEffect()

1234567