/external/skia/src/core/ |
H A D | SkTextMapStateProc.h | 17 : fMatrix(matrix) 20 , fScaleX(fMatrix.getScaleX()) { 23 unsigned mtype = fMatrix.getType(); 29 fOffset.set(offset.x() * fMatrix.getScaleX() + fMatrix.getTranslateX(), 30 offset.y() * fMatrix.getScaleY() + fMatrix.getTranslateY()); 46 const SkMatrix& fMatrix; member in class:SkTextMapStateProc 61 fProc(fMatrix, pos[0] + fOffset.x(), pos[1] + fOffset.y(), loc); 72 fProc(fMatrix, *po [all...] |
H A D | SkImageFilterCache.h | 22 , fMatrix(matrix) 30 fMatrix.getType(); // force initialization of type, so hashes match 31 SkASSERT(fMatrix.isFinite()); // otherwise we can't rely on == self when comparing keys 35 SkMatrix fMatrix; member in struct:SkImageFilterCacheKey 42 fMatrix == other.fMatrix &&
|
H A D | SkColorMatrixFilterRowMajor255.cpp | 39 transpose_and_scale01(fTranspose, fMatrix); 41 const float* array = fMatrix; 57 memcpy(fMatrix, array, 20 * sizeof(SkScalar)); 68 SkASSERT(sizeof(fMatrix)/sizeof(SkScalar) == 20); 69 buffer.writeScalarArray(fMatrix, 20); 82 memcpy(matrix, fMatrix, 20 * sizeof(SkScalar)); 171 set_concat(concat, fMatrix, innerMatrix); 194 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(fMatrix); } 233 const float* m = cme.fMatrix; 260 memcpy(fMatrix, matri 277 SkScalar fMatrix[20]; member in class:ColorMatrixEffect [all...] |
H A D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); 23 fMatrix = *matrix; 25 fMatrix.setIdentity(); 104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint);
|
/external/skqp/src/core/ |
H A D | SkTextMapStateProc.h | 17 : fMatrix(matrix) 20 , fScaleX(fMatrix.getScaleX()) { 23 unsigned mtype = fMatrix.getType(); 29 fOffset.set(offset.x() * fMatrix.getScaleX() + fMatrix.getTranslateX(), 30 offset.y() * fMatrix.getScaleY() + fMatrix.getTranslateY()); 46 const SkMatrix& fMatrix; member in class:SkTextMapStateProc 61 fProc(fMatrix, pos[0] + fOffset.x(), pos[1] + fOffset.y(), loc); 72 fProc(fMatrix, *po [all...] |
H A D | SkImageFilterCache.h | 22 , fMatrix(matrix) 30 fMatrix.getType(); // force initialization of type, so hashes match 31 SkASSERT(fMatrix.isFinite()); // otherwise we can't rely on == self when comparing keys 35 SkMatrix fMatrix; member in struct:SkImageFilterCacheKey 42 fMatrix == other.fMatrix &&
|
H A D | SkColorMatrixFilterRowMajor255.cpp | 39 transpose_and_scale01(fTranspose, fMatrix); 41 const float* array = fMatrix; 57 memcpy(fMatrix, array, 20 * sizeof(SkScalar)); 68 SkASSERT(sizeof(fMatrix)/sizeof(SkScalar) == 20); 69 buffer.writeScalarArray(fMatrix, 20); 82 memcpy(matrix, fMatrix, 20 * sizeof(SkScalar)); 171 set_concat(concat, fMatrix, innerMatrix); 194 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(fMatrix); } 233 const float* m = cme.fMatrix; 260 memcpy(fMatrix, matri 277 SkScalar fMatrix[20]; member in class:ColorMatrixEffect [all...] |
H A D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); 23 fMatrix = *matrix; 25 fMatrix.setIdentity(); 104 canvas->drawPicture(picture, &data.fMatrix, data.fPaint);
|
/external/skia/src/gpu/ |
H A D | GrCoordTransform.h | 64 fMatrix = m; 72 fMatrix = m; 80 fMatrix = that.fMatrix; 93 return &fMatrix; 99 !fMatrix.cheapEqualTo(that.fMatrix)) { 112 const SkMatrix& getMatrix() const { return fMatrix; } 130 SkMatrix fMatrix; member in class:GrCoordTransform
|
H A D | GrDefaultGeoProcFactory.h | 114 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} 115 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { 118 bool hasLocalMatrix() const { return nullptr != fMatrix; } 121 const SkMatrix* fMatrix; member in struct:GrDefaultGeoProcFactory::LocalCoords
|
/external/skqp/src/gpu/ |
H A D | GrCoordTransform.h | 64 fMatrix = m; 72 fMatrix = m; 80 fMatrix = that.fMatrix; 93 return &fMatrix; 99 !fMatrix.cheapEqualTo(that.fMatrix)) { 112 const SkMatrix& getMatrix() const { return fMatrix; } 130 SkMatrix fMatrix; member in class:GrCoordTransform
|
H A D | GrDefaultGeoProcFactory.h | 114 LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} 115 LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { 118 bool hasLocalMatrix() const { return nullptr != fMatrix; } 121 const SkMatrix* fMatrix; member in struct:GrDefaultGeoProcFactory::LocalCoords
|
/external/skia/bench/ |
H A D | MatrixBench.cpp | 115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], 120 junk ^= (fMatrix.getType()); 121 fMatrix.dirtyMatrixTypeCache(); 122 junk ^= (fMatrix.getType()); 123 fMatrix.dirtyMatrixTypeCache(); 124 junk ^= (fMatrix.getType()); 125 fMatrix.dirtyMatrixTypeCache(); 126 junk ^= (fMatrix.getType()); 127 fMatrix.dirtyMatrixTypeCache(); 128 junk ^= (fMatrix 137 SkMatrix fMatrix; member in class:GetTypeMatrixBench 166 SkMatrix fMatrix[10]; member in class:DecomposeMatrixBench 220 SkMatrix fMatrix; member in class:InvertMapRectMatrixBench [all...] |
H A D | QuickRejectBench.cpp | 42 SkMatrix fMatrix; member in class:ConcatBench 49 fMatrix.setScale(5.0f, 5.0f); 50 fMatrix.setTranslateX(10.0f); 51 fMatrix.setTranslateY(10.0f); 57 canvas->concat(fMatrix);
|
H A D | DrawBitmapAABench.cpp | 22 : fMatrix(matrix) 42 canvas->concat(fMatrix); 50 SkMatrix fMatrix; member in class:DrawBitmapAABench
|
/external/skqp/bench/ |
H A D | MatrixBench.cpp | 115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], 120 junk ^= (fMatrix.getType()); 121 fMatrix.dirtyMatrixTypeCache(); 122 junk ^= (fMatrix.getType()); 123 fMatrix.dirtyMatrixTypeCache(); 124 junk ^= (fMatrix.getType()); 125 fMatrix.dirtyMatrixTypeCache(); 126 junk ^= (fMatrix.getType()); 127 fMatrix.dirtyMatrixTypeCache(); 128 junk ^= (fMatrix 137 SkMatrix fMatrix; member in class:GetTypeMatrixBench 166 SkMatrix fMatrix[10]; member in class:DecomposeMatrixBench 220 SkMatrix fMatrix; member in class:InvertMapRectMatrixBench [all...] |
H A D | QuickRejectBench.cpp | 42 SkMatrix fMatrix; member in class:ConcatBench 49 fMatrix.setScale(5.0f, 5.0f); 50 fMatrix.setTranslateX(10.0f); 51 fMatrix.setTranslateY(10.0f); 57 canvas->concat(fMatrix);
|
/external/skia/experimental/sksg/effects/ |
H A D | SkSGTransform.cpp | 42 , fMatrix(std::move(matrix)) { 43 this->observeInval(fMatrix); 47 this->unobserveInval(fMatrix); 51 const auto& m = fMatrix->getTotalMatrix(); 61 fMatrix->revalidate(ic, ctm); 63 const auto& m = fMatrix->getTotalMatrix();
|
/external/skqp/experimental/sksg/effects/ |
H A D | SkSGTransform.cpp | 42 , fMatrix(std::move(matrix)) { 43 this->observeInval(fMatrix); 47 this->unobserveInval(fMatrix); 51 const auto& m = fMatrix->getTotalMatrix(); 61 fMatrix->revalidate(ic, ctm); 63 const auto& m = fMatrix->getTotalMatrix();
|
/external/skia/experimental/sksg/geometry/ |
H A D | SkSGGeometryTransform.cpp | 16 , fMatrix(std::move(matrix)) { 18 this->observeInval(fMatrix); 23 this->unobserveInval(fMatrix); 38 fMatrix->revalidate(ic, ctm); 39 const auto& m = fMatrix->getMatrix();
|
/external/skqp/experimental/sksg/geometry/ |
H A D | SkSGGeometryTransform.cpp | 16 , fMatrix(std::move(matrix)) { 18 this->observeInval(fMatrix); 23 this->unobserveInval(fMatrix); 38 fMatrix->revalidate(ic, ctm); 39 const auto& m = fMatrix->getMatrix();
|
/external/skia/gm/ |
H A D | shadertext2.cpp | 39 SkMatrix fMatrix; member in struct:LabeledMatrix 50 matrices.append()->fMatrix.reset(); 52 matrices.append()->fMatrix.setScale(1.2f, 0.8f); 54 matrices.append()->fMatrix.setRotate(10.f); 56 matrices.append()->fMatrix.reset(); 57 matrices.top().fMatrix.setPerspX(-0.0015f); 58 matrices.top().fMatrix.setPerspY(+0.0015f); 62 localMatrices.append()->fMatrix.reset(); 64 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f); 66 localMatrices.append()->fMatrix [all...] |
H A D | filterindiabox.cpp | 54 fMatrix[0].setScale(horizScale, vertScale); 55 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); 60 SkMatrix fMatrix[2]; member in class:FilterIndiaBoxGM 82 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { 83 SkSize size = computeSize(fBM, fMatrix[i]); 87 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
|
/external/skqp/gm/ |
H A D | shadertext2.cpp | 39 SkMatrix fMatrix; member in struct:LabeledMatrix 50 matrices.append()->fMatrix.reset(); 52 matrices.append()->fMatrix.setScale(1.2f, 0.8f); 54 matrices.append()->fMatrix.setRotate(10.f); 56 matrices.append()->fMatrix.reset(); 57 matrices.top().fMatrix.setPerspX(-0.0015f); 58 matrices.top().fMatrix.setPerspY(+0.0015f); 62 localMatrices.append()->fMatrix.reset(); 64 localMatrices.append()->fMatrix.setScale(2.5f, 0.2f); 66 localMatrices.append()->fMatrix [all...] |
H A D | filterindiabox.cpp | 54 fMatrix[0].setScale(horizScale, vertScale); 55 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(horizScale, vertScale); 60 SkMatrix fMatrix[2]; member in class:FilterIndiaBoxGM 82 for (size_t i = 0; i < SK_ARRAY_COUNT(fMatrix); ++i) { 83 SkSize size = computeSize(fBM, fMatrix[i]); 87 draw_row(canvas, fBM, fMatrix[i], size.fWidth);
|