/third_party/skia/src/gpu/ops/ |
D | TessellationPathRenderer.cpp | 92 args.fViewMatrix->hasPerspective() || in onCanDrawPath() 118 const SkRect pathDevBounds = args.fViewMatrix->mapRect(args.fShape->bounds()); in onDrawPath() 138 inflationRadius = stroke.getInflationRadius() * args.fViewMatrix->getMaxScale(); in onDrawPath() 142 path = PreChopPathCurves(path, *args.fViewMatrix, viewport); in onDrawPath() 151 auto op = GrOp::Make<StrokeTessellateOp>(args.fContext, args.fAAType, *args.fViewMatrix, in onDrawPath() 161 *args.fViewMatrix); in onDrawPath() 172 *args.fViewMatrix, in onDrawPath() 189 *args.fViewMatrix, in onDrawPath() 204 args.fViewMatrix->mapRect(&pathDevBounds, args.fShape->bounds()); in onStencilPath() 214 path = PreChopPathCurves(path, *args.fViewMatrix, viewport); in onStencilPath() [all …]
|
D | SoftwarePathRenderer.cpp | 43 , fViewMatrix(viewMatrix) in SoftwarePathData() 48 const SkMatrix* getViewMatrix() const { return &fViewMatrix; } in getViewMatrix() 54 SkMatrix fViewMatrix; member in __anon6f97634e0111::SoftwarePathData 243 *args.fViewMatrix, nullptr); in onDrawPath() 248 bool useCache = fAllowCaching && !inverseFilled && args.fViewMatrix->preservesAxisAlignment() && in onDrawPath() 253 *args.fViewMatrix, &unclippedDevShapeBounds, in onDrawPath() 258 *args.fUserStencilSettings, args.fClip, *args.fViewMatrix, in onDrawPath() 284 SkScalar sx = args.fViewMatrix->get(SkMatrix::kMScaleX); in onDrawPath() 285 SkScalar sy = args.fViewMatrix->get(SkMatrix::kMScaleY); in onDrawPath() 286 SkScalar kx = args.fViewMatrix->get(SkMatrix::kMSkewX); in onDrawPath() [all …]
|
D | DrawVerticesOp.cpp | 65 key |= ProgramImpl::ComputeMatrixKey(caps, fViewMatrix) << 20; in addToKey() 82 SetTransform(pdman, shaderCaps, fViewMatrixUniform, vgp.fViewMatrix, &fViewMatrix); in setData() 137 gp.fViewMatrix, in onEmitCode() 149 SkMatrix fViewMatrix = SkMatrix::InvalidMatrix(); member in skgpu::v1::DrawVerticesOp::__anon2d6083510111::VerticesGP::Impl 166 , fViewMatrix(viewMatrix) in VerticesGP() 189 SkMatrix fViewMatrix; member in skgpu::v1::DrawVerticesOp::__anon2d6083510111::VerticesGP 256 SkMatrix fViewMatrix; member 326 mesh.fViewMatrix = matrixProvider.localToDevice(); in DrawVerticesOpImpl() 338 mesh.fViewMatrix, in DrawVerticesOpImpl() 377 const SkMatrix& vm = fMultipleViewMatrices ? SkMatrix::I() : fMeshes[0].fViewMatrix; in makeGP() [all …]
|
D | SmallPathRenderer.cpp | 168 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws() 233 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws() 236 args.fViewMatrix.mapRect(&xformedBounds, bounds); in onPrepareDraws() 240 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws() 296 shapeData = atlasMgr->findOrCreate(args.fShape, args.fViewMatrix); in onPrepareDraws() 303 args.fViewMatrix)) { in onPrepareDraws() 314 args.fViewMatrix, shapeData); in onPrepareDraws() 604 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible() 605 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible() 647 SkMatrix fViewMatrix; member [all …]
|
D | StrokeTessellateOp.cpp | 46 , fViewMatrix(viewMatrix) in StrokeTessellateOp() 107 fViewMatrix != op->fViewMatrix || in onCombineIfPossible() 210 fViewMatrix, in prePrepareTessellator() 255 if (!fViewMatrix.getMinMaxScales(matrixMinMaxScales.data())) { in onPrepare() 259 fViewMatrix, in onPrepare()
|
D | TriangulatingPathRenderer.cpp | 201 , fViewMatrix(viewMatrix) in TriangulatingPathOp() 287 fViewMatrix, fShape.bounds()); in createNonAAMesh() 319 int vertexCount = Triangulate(&allocator, fViewMatrix, fShape, fDevClipBounds, tol, in createNonAAMesh() 353 path.transform(fViewMatrix); in createAAMesh() 395 localCoordsType, fViewMatrix); in onCreateProgramInfo() 398 fViewMatrix); in onCreateProgramInfo() 446 fViewMatrix, fShape.bounds()); in onPrePrepareDraws() 457 int vertexCount = Triangulate(&allocator, fViewMatrix, fShape, fDevClipBounds, tol, in onPrePrepareDraws() 528 SkMatrix fViewMatrix; member in __anon76ea7bdc0111::TriangulatingPathOp 618 args.fContext, std::move(args.fPaint), *args.fShape, *args.fViewMatrix, in onDrawPath()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSoftwarePathRenderer.cpp | 204 , fViewMatrix(viewMatrix) in SoftwarePathData() 209 const SkMatrix* getViewMatrix() const { return &fViewMatrix; } in getViewMatrix() 215 SkMatrix fViewMatrix; member in __anonaf62fa1b0111::SoftwarePathData 250 *args.fViewMatrix, nullptr); in onDrawPath() 255 bool useCache = fAllowCaching && !inverseFilled && args.fViewMatrix->preservesAxisAlignment() && in onDrawPath() 260 *args.fViewMatrix, &unclippedDevShapeBounds, in onDrawPath() 265 *args.fUserStencilSettings, *args.fClip, *args.fViewMatrix, in onDrawPath() 291 SkScalar sx = args.fViewMatrix->get(SkMatrix::kMScaleX); in onDrawPath() 292 SkScalar sy = args.fViewMatrix->get(SkMatrix::kMScaleY); in onDrawPath() 293 SkScalar kx = args.fViewMatrix->get(SkMatrix::kMSkewX); in onDrawPath() [all …]
|
D | GrPathRenderer.h | 82 const SkMatrix* fViewMatrix; member 95 SkASSERT(fViewMatrix); in validate() 118 const SkMatrix* fViewMatrix; member 129 SkASSERT(fViewMatrix); in validate() 150 const SkMatrix* fViewMatrix; member
|
D | GrDefaultGeoProcFactory.cpp | 54 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() 63 : fViewMatrix(SkMatrix::InvalidMatrix()) in GLSLProcessor() 185 if (!dgp.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(dgp.viewMatrix())) { in setData() 186 fViewMatrix = dgp.viewMatrix(); in setData() 188 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 207 SkMatrix fViewMatrix; member in DefaultGeoProc::GLSLProcessor 237 , fViewMatrix(viewMatrix) in DefaultGeoProc() 263 SkMatrix fViewMatrix; member in DefaultGeoProc
|
D | GrPathRenderer.cpp | 22 SkASSERT(fViewMatrix); in validate() 50 canArgs.fViewMatrix = args.fViewMatrix; in drawPath() 115 args.fViewMatrix, in onStencilPath()
|
D | GrFPArgs.h | 23 , fViewMatrix(viewMatrix) in GrFPArgs() 27 SkASSERT(fViewMatrix); in GrFPArgs() 34 const SkMatrix* fViewMatrix; member
|
/third_party/skia/src/gpu/effects/ |
D | GrBezierEffect.cpp | 23 SetTransform(pdman, shaderCaps, fViewMatrixUniform, ce.fViewMatrix, &fViewMatrix); in setData() 40 SkMatrix fViewMatrix = SkMatrix::InvalidMatrix(); member in GrConicEffect::Impl 75 gp.fViewMatrix, in onEmitCode() 160 fViewMatrix, in addToKey() 174 , fViewMatrix(viewMatrix) in GrConicEffect() 211 SetTransform(pdman, shaderCaps, fViewMatrixUniform, qe.fViewMatrix, &fViewMatrix); in setData() 228 SkMatrix fViewMatrix = SkMatrix::InvalidMatrix(); member in GrQuadEffect::Impl 263 gp.fViewMatrix, in onEmitCode() 313 fViewMatrix, in addToKey() 327 , fViewMatrix(viewMatrix) in GrQuadEffect()
|
/third_party/skia/gm/ |
D | tessellation.cpp | 57 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestTriShader() 72 geomProc.cast<TessellationTestTriShader>().fViewMatrix); in setData() 170 const SkMatrix fViewMatrix; member in skiagm::TessellationTestTriShader 176 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestRectShader() 191 geomProc.cast<TessellationTestRectShader>().fViewMatrix); in setData() 286 const SkMatrix fViewMatrix; member in skiagm::TessellationTestRectShader 294 : GrDrawOp(ClassID()), fViewMatrix(viewMatrix), fTriPositions(triPositions) { in TessellationTestOp() 331 shader = std::make_unique<TessellationTestTriShader>(fViewMatrix); in onExecute() 336 shader = std::make_unique<TessellationTestRectShader>(fViewMatrix); in onExecute() 350 const SkMatrix fViewMatrix; member in skiagm::TessellationTestOp
|
D | fwidth_squircle.cpp | 79 , fViewMatrix(viewMatrix) { in FwidthSquircleTestProcessor() 83 const SkMatrix fViewMatrix; member in __anon0653a53c0111::FwidthSquircleTestProcessor 96 pdman.setSkMatrix(fViewMatrixHandle, proc.fViewMatrix); in makeProgramImpl() 161 , fViewMatrix(viewMatrix) { in FwidthSquircleTestOp() 179 GrGeometryProcessor* geomProc = FwidthSquircleTestProcessor::Make(arena, fViewMatrix); in createProgramInfo() 250 const SkMatrix fViewMatrix; member in __anon0653a53c0111::FwidthSquircleTestOp
|
/third_party/flutter/skia/gm/ |
D | fwidth_squircle.cpp | 69 , fViewMatrix(viewMatrix) { in FwidthSquircleTestProcessor() 77 const SkMatrix fViewMatrix; member in skiagm::FwidthSquircleTestProcessor 123 pdman.setSkMatrix(fViewMatrixHandle, proc.fViewMatrix); in setData() 149 , fViewMatrix(viewMatrix) { in FwidthSquircleTestOp() 177 flushState->rtCommandBuffer()->draw(FwidthSquircleTestProcessor(fViewMatrix), pipeline, in onExecute() 181 const SkMatrix fViewMatrix; member in skiagm::FwidthSquircleTestOp
|
/third_party/skia/src/gpu/tessellate/ |
D | StrokeIterator.h | 35 : fViewMatrix(viewMatrix), fStroke(stroke) { in StrokeIterator() 238 SkASSERT(!fViewMatrix->hasPerspective()); in finishOpenContour() 239 float a=fViewMatrix->getScaleX(), b=fViewMatrix->getSkewX(), in finishOpenContour() 240 c=fViewMatrix->getSkewY(), d=fViewMatrix->getScaleY(); in finishOpenContour() 315 lastTangent *= .5f / fViewMatrix->mapVector(lastTangent.fX, lastTangent.fY).length(); in fillSquareCapPoints() 338 -.5f / fViewMatrix->mapVector(firstTangent.fX, firstTangent.fY).length(); in fillSquareCapPoints() 344 const SkMatrix* const fViewMatrix; // For hairlines. variable
|
/third_party/skia/src/gpu/v1/ |
D | PathRenderer.h | 87 const SkMatrix* fViewMatrix; member 101 SkASSERT(fViewMatrix); in validate() 125 const SkMatrix* fViewMatrix; member 135 SkASSERT(fViewMatrix); in validate() 156 const SkMatrix* fViewMatrix; member
|
D | PathRenderer.cpp | 28 SkASSERT(fViewMatrix); in validate() 54 canArgs.fViewMatrix = args.fViewMatrix; in drawPath() 103 args.fViewMatrix, in onStencilPath()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrBezierEffect.cpp | 32 if (!ce.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(ce.viewMatrix())) { in setData() 33 fViewMatrix = ce.viewMatrix(); in setData() 35 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 52 SkMatrix fViewMatrix; member in GrGLConicEffect 64 : fViewMatrix(SkMatrix::InvalidMatrix()), fColor(SK_PMColor4fILLEGAL), fCoverageScale(0xff) { in GrGLConicEffect() 238 , fViewMatrix(viewMatrix) in GrConicEffect() 283 if (!qe.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(qe.viewMatrix())) { in setData() 284 fViewMatrix = qe.viewMatrix(); in setData() 286 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 303 SkMatrix fViewMatrix; member in GrGLQuadEffect [all …]
|
D | GrBezierEffect.h | 102 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() 116 SkMatrix fViewMatrix; variable 186 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() 200 SkMatrix fViewMatrix; variable
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 89 const SkMatrix& viewMatrix = geo.fViewMatrix; in init() 109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init() 300 if (this->usesLocalCoords() && !fGeoData[0].fViewMatrix.invert(&localMatrix)) { in onPrepareDraws() 329 bool vmPerspective = fGeoData[0].fViewMatrix.hasPerspective(); in onPrepareDraws() 363 resourceProvider, blob, args.fRun, args.fSubRun, args.fViewMatrix, args.fX, args.fY, in onPrepareDraws() 383 if (fNeedsGlyphTransform && !args.fViewMatrix.isIdentity()) { in onPrepareDraws() 387 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws() 390 args.fViewMatrix, pos, vertexStride, pos, vertexStride, in onPrepareDraws() 395 args.fViewMatrix, pos, vertexStride, in onPrepareDraws() 469 const SkMatrix& thisFirstMatrix = fGeoData[0].fViewMatrix; in onCombineIfPossible() [all …]
|
D | GrTessellatingPathRenderer.cpp | 224 , fViewMatrix(viewMatrix) in TessellatingPathOp() 280 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); in draw() 290 if (!fViewMatrix.invert(&vmi)) { in draw() 320 path.transform(fViewMatrix); in drawAA() 355 localCoordsType, fViewMatrix); in onPrepareDraws() 359 fViewMatrix); in onPrepareDraws() 389 SkMatrix fViewMatrix; member in __anon6ce33dc00211::TessellatingPathOp 406 args.fContext, std::move(args.fPaint), *args.fShape, *args.fViewMatrix, clipBoundsI, in onDrawPath()
|
D | GrRegionOp.cpp | 58 , fViewMatrix(viewMatrix) { in RegionOp() 100 sk_sp<GrGeometryProcessor> gp = make_gp(target->caps().shaderCaps(), fViewMatrix, in onPrepareDraws() 152 if (fViewMatrix != that->fViewMatrix) { in onCombineIfPossible() 167 SkMatrix fViewMatrix; member in __anon6fca7e100111::RegionOp
|
/third_party/skia/src/gpu/tessellate/shaders/ |
D | GrTessellationShader.h | 26 , fViewMatrix(viewMatrix) in GrTessellationShader() 35 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() 83 const SkMatrix fViewMatrix; variable
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLPathRendering.h | 86 SkMatrix fViewMatrix; member 92 fViewMatrix = SkMatrix::InvalidMatrix(); in invalidate() 112 combined.preConcat(fViewMatrix); in getRTAdjustedGLMatrix()
|