/third_party/skia/src/core/ |
D | SkWriter32.cpp | 13 size_t size = SkMatrixPriv::WriteToMemory(matrix, nullptr); in writeMatrix() 15 SkMatrixPriv::WriteToMemory(matrix, this->reserve(size)); in writeMatrix()
|
D | SkPictureRecord.cpp | 230 fWriter.write(SkMatrixPriv::M44ColMajor(m), 16 * sizeof(SkScalar)); in didConcat44() 241 fWriter.write(SkMatrixPriv::M44ColMajor(m), 16 * sizeof(SkScalar)); in didSetM44() 257 size_t size = kUInt32Size + SkMatrixPriv::WriteToMemory(matrix, nullptr); in recordConcat() 599 size += SkMatrixPriv::WriteToMemory(m, nullptr) + kUInt32Size; // matrix + paint in onDrawPicture() 617 size += SkMatrixPriv::WriteToMemory(*matrix, nullptr); // matrix in onDrawDrawable()
|
D | SkDevice.cpp | 558 SkIRect deviceRect = SkMatrixPriv::MapRect(this->globalToDevice(), SkRect::Make(rect)).round(); in onReplaceClip() 581 const bool isRect = fillsBounds && SkMatrixPriv::IsScaleTranslateAsM33(transform); in op() 585 : SkMatrixPriv::MapRect(transform, bounds); in op()
|
D | SkClipStackDevice.cpp | 56 SkRect deviceRect = SkMatrixPriv::MapRect(this->globalToDevice(), SkRect::Make(rect)); in onReplaceClip()
|
D | SkBitmapProcState.h | 58 SkMatrixPriv::MapXYProc fInvProc; // chooseProcs
|
D | SkMatrixPriv.h | 16 class SkMatrixPriv {
|
D | SkImageFilterTypes.cpp | 52 SkScalar scale = SkMatrixPriv::DifferentialAreaScale(ctm, SkPoint(representativePt)); in decomposeCTM()
|
D | SkWriteBuffer.cpp | 108 fWriter.write(SkMatrixPriv::M44ColMajor(matrix), sizeof(float) * 16); in write()
|
D | SkBitmapProcState.cpp | 214 SkMatrixPriv::PostIDiv(&fInvMatrix, fPixmap.width(), fPixmap.height()); in init() 263 fInvProc = SkMatrixPriv::GetMapXYProc(fInvMatrix); in chooseProcs()
|
D | SkReadBuffer.cpp | 183 size = SkMatrixPriv::ReadFromMemory(matrix, fCurr, this->available()); in readMatrix()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 30 this->setMatrix4f(u, SkMatrixPriv::M44ColMajor(matrix)); in setSkM44()
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 40 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()
|
D | M44Test.cpp | 269 SkRect actual = SkMatrixPriv::MapRect(m, src); in DEF_TEST() 372 SkRect out = SkMatrixPriv::MapRect(m, rect); in DEF_TEST()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Transform.cpp | 21 return SkMatrixPriv::MapRect(m, r.asSkRect()); in map_rect()
|
/third_party/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.h | 67 SkMatrixPriv::MapXYProc fDstToPosProc;
|
D | Sk4fGradientBase.cpp | 299 fDstToPosProc = SkMatrixPriv::GetMapXYProc(fDstToPos); in GradientShaderBase4fContext()
|
/third_party/skia/src/gpu/ops/ |
D | AAHairLinePathRenderer.cpp | 609 SkMatrixPriv::MapPointsWithStride(*toSrc, &verts[0].fPos, sizeof(BezierVertex), in bloat_quad() 733 SkMatrixPriv::MapPointsWithStride(*toSrc, &(*vert)->fPos, sizeof(LineVertex), in add_line() 892 !SkMatrixPriv::CheapEqual(this->viewMatrix(), that->viewMatrix())) { in onCombineIfPossible() 907 if (fHelper.usesLocalCoords() && !SkMatrixPriv::CheapEqual(this->viewMatrix(), in onCombineIfPossible()
|
D | DrawVerticesOp.cpp | 465 SkMatrixPriv::MapPointsWithStride(mesh.fViewMatrix, posBase, vertexStride, in onPrepareDraws() 528 !SkMatrixPriv::CheapEqual(this->fMeshes[0].fViewMatrix, that->fMeshes[0].fViewMatrix); in onCombineIfPossible()
|
D | PathStencilCoverOp.cpp | 292 if (SkMatrixPriv::InverseMapRect(pathMatrix, &pathSpaceRTBounds, rtBounds)) { in onPrepare()
|
D | DrawAtlasOp.cpp | 269 if (!SkMatrixPriv::CheapEqual(this->viewMatrix(), that->viewMatrix())) { in onCombineIfPossible()
|
D | GrOvalOpFactory.cpp | 1424 !SkMatrixPriv::CheapEqual(fViewMatrixIfUsingLocalCoords, in onCombineIfPossible() 1755 !SkMatrixPriv::CheapEqual(fViewMatrixIfUsingLocalCoords, in onCombineIfPossible() 2054 !SkMatrixPriv::CheapEqual(fViewMatrixIfUsingLocalCoords, in onCombineIfPossible() 2327 if (!SkMatrixPriv::CheapEqual(this->viewMatrix(), that->viewMatrix())) { in onCombineIfPossible() 2793 !SkMatrixPriv::CheapEqual(fViewMatrixIfUsingLocalCoords, in onCombineIfPossible() 3115 !SkMatrixPriv::CheapEqual(fViewMatrixIfUsingLocalCoords, in onCombineIfPossible()
|
/third_party/skia/bench/ |
D | Matrix44Bench.cpp | 225 fD = SkMatrixPriv::MapRect(fM, fS); in performTest()
|
/third_party/skia/src/gpu/v1/ |
D | Device_v1.h | 171 SkRect deviceRect = SkMatrixPriv::MapRect(this->globalToDevice(), SkRect::Make(rect)); in onReplaceClip()
|
/third_party/skia/samplecode/ |
D | SampleFilterBounds.cpp | 131 float scale = SkMatrixPriv::DifferentialAreaScale( in draw_scale_factors()
|
/third_party/skia/experimental/graphite/src/ |
D | Device.cpp | 162 SkRect localCoveringBounds = SkMatrixPriv::MapRect(devToLocal, deviceBounds); in drawPaint()
|