Home
last modified time | relevance | path

Searched refs:SkMatrixPriv (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/src/core/
DSkWriter32.cpp13 size_t size = SkMatrixPriv::WriteToMemory(matrix, nullptr); in writeMatrix()
15 SkMatrixPriv::WriteToMemory(matrix, this->reserve(size)); in writeMatrix()
DSkPictureRecord.cpp224 fWriter.write(SkMatrixPriv::M44ColMajor(m), 16 * sizeof(SkScalar)); in didConcat44()
235 fWriter.write(SkMatrixPriv::M44ColMajor(m), 16 * sizeof(SkScalar)); in didSetM44()
251 size_t size = kUInt32Size + SkMatrixPriv::WriteToMemory(matrix, nullptr); in recordConcat()
608 size += SkMatrixPriv::WriteToMemory(m, nullptr) + kUInt32Size; // matrix + paint in onDrawPicture()
626 size += SkMatrixPriv::WriteToMemory(*matrix, nullptr); // matrix in onDrawDrawable()
DSkImageFilterTypes.cpp45 SkScalar scale = SkMatrixPriv::DifferentialAreaScale(ctm, SkPoint(representativePoint)); in DecomposeCTM()
DSkMatrixPriv.h16 class SkMatrixPriv {
DSkBitmapProcState.h58 SkMatrixPriv::MapXYProc fInvProc; // chooseProcs
DSkWriteBuffer.cpp108 fWriter.write(SkMatrixPriv::M44ColMajor(matrix), sizeof(float) * 16); in write()
DSkBitmapProcState.cpp215 SkMatrixPriv::PostIDiv(&fInvMatrix, fPixmap.width(), fPixmap.height()); in init()
264 fInvProc = SkMatrixPriv::GetMapXYProc(fInvMatrix); in chooseProcs()
/external/skqp/src/core/
DSkWriter32.cpp16 size_t size = SkMatrixPriv::WriteToMemory(matrix, nullptr); in writeMatrix()
18 SkMatrixPriv::WriteToMemory(matrix, this->reserve(size)); in writeMatrix()
DSkFindAndPlaceGlyph.h180 : fOrigin(origin), fMatrix(matrix), fMapProc(SkMatrixPriv::GetMapXYProc(matrix)) { } in GeneralMapper()
191 const SkMatrixPriv::MapXYProc fMapProc;
DSkPictureRecord.cpp125 size += SkMatrixPriv::WriteToMemory(*rec.fClipMatrix, nullptr); in recordSaveLayer()
237 size_t size = kUInt32Size + SkMatrixPriv::WriteToMemory(matrix, nullptr); in recordConcat()
246 size_t size = kUInt32Size + SkMatrixPriv::WriteToMemory(matrix, nullptr); in didSetMatrix()
622 size += SkMatrixPriv::WriteToMemory(m, nullptr) + kUInt32Size; // matrix + paint in onDrawPicture()
640 size += SkMatrixPriv::WriteToMemory(*matrix, nullptr); // matrix in onDrawDrawable()
DSkMatrixPriv.h15 class SkMatrixPriv {
DSkBitmapProcState.h77 SkMatrixPriv::MapXYProc fInvProc; // chooseProcs
DSkReadBuffer.cpp175 size = SkMatrixPriv::ReadFromMemory(matrix, fReader.peek(), fReader.available()); in readMatrix()
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp30 this->setMatrix4f(u, SkMatrixPriv::M44ColMajor(matrix)); in setSkM44()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.h67 SkMatrixPriv::MapXYProc fDstToPosProc;
DSk4fGradientBase.cpp299 fDstToPosProc = SkMatrixPriv::GetMapXYProc(fDstToPos); in GradientShaderBase4fContext()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.h67 SkMatrixPriv::MapXYProc fDstToPosProc;
DSk4fGradientBase.cpp299 fDstToPosProc = SkMatrixPriv::GetMapXYProc(fDstToPos); in GradientShaderBase4fContext()
/external/skia/tests/
DMatrixTest.cpp40 bool cheapEqual = SkMatrixPriv::CheapEqual(a, b); in are_equal()
160 static const size_t kBufferSize = SkMatrixPriv::kMaxFlattenSize + 100; in test_flatten()
162 size_t size1 = SkMatrixPriv::WriteToMemory(m, nullptr); in test_flatten()
163 size_t size2 = SkMatrixPriv::WriteToMemory(m, buffer); in test_flatten()
165 REPORTER_ASSERT(reporter, size1 <= SkMatrixPriv::kMaxFlattenSize); in test_flatten()
168 size_t size3 = SkMatrixPriv::ReadFromMemory(&m2, buffer, kBufferSize); in test_flatten()
173 size3 = SkMatrixPriv::WriteToMemory(m2, buffer2); in test_flatten()
/external/skqp/tests/
DMatrixTest.cpp150 static const size_t kBufferSize = SkMatrixPriv::kMaxFlattenSize + 100; in test_flatten()
152 size_t size1 = SkMatrixPriv::WriteToMemory(m, nullptr); in test_flatten()
153 size_t size2 = SkMatrixPriv::WriteToMemory(m, buffer); in test_flatten()
155 REPORTER_ASSERT(reporter, size1 <= SkMatrixPriv::kMaxFlattenSize); in test_flatten()
158 size_t size3 = SkMatrixPriv::ReadFromMemory(&m2, buffer, kBufferSize); in test_flatten()
163 size3 = SkMatrixPriv::WriteToMemory(m2, buffer2); in test_flatten()
/external/skia/bench/
DMatrix44Bench.cpp225 fD = SkMatrixPriv::MapRect(fM, fS); in performTest()
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.cpp372 SkMatrixPriv::MapHomogeneousPointsWithStride( in onPrepareDraws()
377 SkMatrixPriv::MapPointsWithStride( in onPrepareDraws()
/external/skia/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp599 SkMatrixPriv::MapPointsWithStride(*toSrc, &verts[0].fPos, sizeof(BezierVertex), in bloat_quad()
722 SkMatrixPriv::MapPointsWithStride(*toSrc, &(*vert)->fPos, sizeof(LineVertex), in add_line()
941 !SkMatrixPriv::CheapEqual(this->viewMatrix(), that->viewMatrix())) { in onCombineIfPossible()
956 if (fHelper.usesLocalCoords() && !SkMatrixPriv::CheapEqual(this->viewMatrix(), in onCombineIfPossible()
DGrDrawVerticesOp.cpp469 SkMatrixPriv::MapPointsWithStride(mesh.fViewMatrix, posBase, vertexStride, in onPrepareDraws()
531 !SkMatrixPriv::CheapEqual(this->fMeshes[0].fViewMatrix, that->fMeshes[0].fViewMatrix); in onCombineIfPossible()
/external/skia/samplecode/
DSampleFilterBounds.cpp131 float scale = SkMatrixPriv::DifferentialAreaScale( in draw_scale_factors()

12