Home
last modified time | relevance | path

Searched refs:fViewMatrix (Results 1 – 25 of 92) sorted by relevance

1234

/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp205 , fViewMatrix(viewMatrix) in SoftwarePathData()
210 const SkMatrix* getViewMatrix() const { return &fViewMatrix; } in getViewMatrix()
216 SkMatrix fViewMatrix; member in __anone24777f10111::SoftwarePathData
251 *args.fViewMatrix, nullptr); in onDrawPath()
256 bool useCache = fAllowCaching && !inverseFilled && args.fViewMatrix->preservesAxisAlignment() && in onDrawPath()
261 *args.fViewMatrix, &unclippedDevShapeBounds, in onDrawPath()
266 *args.fUserStencilSettings, *args.fClip, *args.fViewMatrix, in onDrawPath()
292 SkScalar sx = args.fViewMatrix->get(SkMatrix::kMScaleX); in onDrawPath()
293 SkScalar sy = args.fViewMatrix->get(SkMatrix::kMScaleY); in onDrawPath()
294 SkScalar kx = args.fViewMatrix->get(SkMatrix::kMSkewX); in onDrawPath()
[all …]
DGrPathRenderer.h80 const SkMatrix* fViewMatrix; member
92 SkASSERT(fViewMatrix); in validate()
115 const SkMatrix* fViewMatrix; member
126 SkASSERT(fViewMatrix); in validate()
147 const SkMatrix* fViewMatrix; member
DGrPathRenderer.cpp22 SkASSERT(fViewMatrix); in validate()
50 canArgs.fViewMatrix = args.fViewMatrix; in drawPath()
119 args.fViewMatrix, in onStencilPath()
DGrFPArgs.h23 , fViewMatrix(viewMatrix) in GrFPArgs()
27 SkASSERT(fViewMatrix); in GrFPArgs()
34 const SkMatrix* fViewMatrix; member
/external/skia/src/gpu/tessellate/
DGrPathStencilFillOp.cpp64 fViewMatrix, fPath, DrawInnerFan(drawTrianglesAsIndirectCurveDraw)); in prePreparePrograms()
67 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
70 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
81 SkAssertResult(fViewMatrix.getMinMaxScales(scales)); // Will fail if perspective. in prePreparePrograms()
87 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
89 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
94 args, fViewMatrix, stencilPassPipeline, fPath.getFillType()); in prePreparePrograms()
101 auto* bboxShader = args.fArena->make<GrFillBoundingBoxShader>(fViewMatrix, fColor, in prePreparePrograms()
153 fTessellator->prepare(flushState, fViewMatrix, fPath); in onPrepare()
DGrStrokeIterator.h33 : fViewMatrix(viewMatrix), fStroke(stroke) { in GrStrokeIterator()
236 SkASSERT(!fViewMatrix->hasPerspective()); in finishOpenContour()
237 float a=fViewMatrix->getScaleX(), b=fViewMatrix->getSkewX(), in finishOpenContour()
238 c=fViewMatrix->getSkewY(), d=fViewMatrix->getScaleY(); in finishOpenContour()
313 lastTangent *= .5f / fViewMatrix->mapVector(lastTangent.fX, lastTangent.fY).length(); in fillSquareCapPoints()
336 -.5f / fViewMatrix->mapVector(firstTangent.fX, firstTangent.fY).length(); in fillSquareCapPoints()
342 const SkMatrix* const fViewMatrix; // For hairlines. variable
DGrPathShader.h25 , fViewMatrix(viewMatrix) in GrPathShader()
35 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix()
64 const SkMatrix fViewMatrix;
DGrPathInnerTriangulateOp.cpp49 args, fViewMatrix, pipelineForStencils, stencil)); in pushFanStencilProgram()
55 auto* shader = args.fArena->make<GrFillTriangleShader>(fViewMatrix, fColor); in pushFanFillProgram()
103 fTessellator = args.fArena->make<GrPathIndirectTessellator>(fViewMatrix, fPath, in prePreparePrograms()
106 args, fViewMatrix, pipelineForStencils, fPath.getFillType()); in prePreparePrograms()
207 auto* hullShader = args.fArena->make<GrFillCubicHullShader>(fViewMatrix, fColor); in prePreparePrograms()
252 fTessellator->prepare(flushState, fViewMatrix, fPath, &fFanBreadcrumbs); in onPrepare()
DGrPathStencilFillOp.h28 , fViewMatrix(viewMatrix) in GrPathStencilFillOp()
34 fViewMatrix.mapRect(&devBounds, path.getBounds()); in GrPathStencilFillOp()
54 const SkMatrix fViewMatrix; variable
DGrStrokeTessellateOp.cpp25 , fViewMatrix(viewMatrix) in GrStrokeTessellateOp()
81 fViewMatrix != op->fViewMatrix || in onCombineIfPossible()
185 fTessellator = arena->make<GrStrokeHardwareTessellator>(fShaderFlags, fViewMatrix, in prePrepareTessellator()
192 fTessellator = arena->make<GrStrokeIndirectTessellator>(fShaderFlags, fViewMatrix, in prePrepareTessellator()
196 fTessellator = arena->make<GrStrokeFixedCountTessellator>(fShaderFlags, fViewMatrix, in prePrepareTessellator()
DGrPathInnerTriangulateOp.h34 , fViewMatrix(viewMatrix) in GrPathInnerTriangulateOp()
40 fViewMatrix.mapRect(&devBounds, path.getBounds()); in GrPathInnerTriangulateOp()
62 const SkMatrix fViewMatrix; variable
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp205 , fViewMatrix(viewMatrix) in SoftwarePathData()
210 const SkMatrix* getViewMatrix() const { return &fViewMatrix; } in getViewMatrix()
216 SkMatrix fViewMatrix; member in __anon161d5e3a0111::SoftwarePathData
237 *args.fViewMatrix, nullptr); in onDrawPath()
242 bool useCache = fAllowCaching && !inverseFilled && args.fViewMatrix->preservesAxisAlignment() && in onDrawPath()
247 *args.fViewMatrix, &unclippedDevShapeBounds, in onDrawPath()
252 *args.fUserStencilSettings, args.fClip, *args.fViewMatrix, in onDrawPath()
278 SkScalar sx = args.fViewMatrix->get(SkMatrix::kMScaleX); in onDrawPath()
279 SkScalar sy = args.fViewMatrix->get(SkMatrix::kMScaleY); in onDrawPath()
280 SkScalar kx = args.fViewMatrix->get(SkMatrix::kMSkewX); in onDrawPath()
[all …]
DGrPathRenderer.h84 const SkMatrix* fViewMatrix; member
98 SkASSERT(fViewMatrix); in validate()
122 const SkMatrix* fViewMatrix; member
132 SkASSERT(fViewMatrix); in validate()
153 const SkMatrix* fViewMatrix; member
DGrPathRenderer.cpp23 SkASSERT(fViewMatrix); in validate()
51 canArgs.fViewMatrix = args.fViewMatrix; in drawPath()
116 args.fViewMatrix, in onStencilPath()
/external/skia/gm/
Dtessellation.cpp57 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestTriShader()
154 geomProc.cast<TessellationTestTriShader>().fViewMatrix); in setData()
163 const SkMatrix fViewMatrix; member in skiagm::TessellationTestTriShader
169 : GrGeometryProcessor(kTessellationTestTriShader_ClassID), fViewMatrix(viewMatrix) { in TessellationTestRectShader()
262 geomProc.cast<TessellationTestRectShader>().fViewMatrix); in setData()
271 const SkMatrix fViewMatrix; member in skiagm::TessellationTestRectShader
279 : GrDrawOp(ClassID()), fViewMatrix(viewMatrix), fTriPositions(triPositions) { in TessellationTestOp()
316 shader = std::make_unique<TessellationTestTriShader>(fViewMatrix); in onExecute()
321 shader = std::make_unique<TessellationTestRectShader>(fViewMatrix); in onExecute()
334 const SkMatrix fViewMatrix; member in skiagm::TessellationTestOp
Dfwidth_squircle.cpp79 , fViewMatrix(viewMatrix) { in FwidthSquircleTestProcessor()
83 const SkMatrix fViewMatrix; member in skiagm::FwidthSquircleTestProcessor
132 pdman.setSkMatrix(fViewMatrixHandle, proc.fViewMatrix); in setData()
157 , fViewMatrix(viewMatrix) { in FwidthSquircleTestOp()
174 GrGeometryProcessor* geomProc = FwidthSquircleTestProcessor::Make(arena, fViewMatrix); in createProgramInfo()
241 const SkMatrix fViewMatrix; member in skiagm::FwidthSquircleTestOp
/external/skqp/gm/
Dfwidth_squircle.cpp46 , fViewMatrix(viewMatrix) { in FwidthSquircleTestProcessor()
54 const SkMatrix fViewMatrix; member in skiagm::FwidthSquircleTestProcessor
100 pdman.setSkMatrix(fViewMatrixHandle, proc.fViewMatrix); in setData()
126 , fViewMatrix(viewMatrix) { in FwidthSquircleTestOp()
153 flushState->rtCommandBuffer()->draw(FwidthSquircleTestProcessor(fViewMatrix), pipeline, in onExecute()
157 const SkMatrix fViewMatrix; member in skiagm::FwidthSquircleTestOp
/external/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp57 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix()
66 : fViewMatrix(SkMatrix::InvalidMatrix()) in GLSLProcessor()
140 SetTransform(pdman, shaderCaps, fViewMatrixUniform, vgp.viewMatrix(), &fViewMatrix); in setData()
151 SkMatrix fViewMatrix; member in __anon119029be0111::VerticesGP::GLSLProcessor
177 , fViewMatrix(viewMatrix) in VerticesGP()
200 SkMatrix fViewMatrix; member in __anon119029be0111::VerticesGP
262 SkMatrix fViewMatrix; member
333 mesh.fViewMatrix = matrixProvider.localToDevice(); in DrawVerticesOp()
345 mesh.fViewMatrix, in DrawVerticesOp()
383 const SkMatrix& vm = fMultipleViewMatrices ? SkMatrix::I() : fMeshes[0].fViewMatrix; in makeGP()
[all …]
/external/skqp/src/gpu/effects/
DGrBezierEffect.cpp32 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 …]
DGrBezierEffect.h102 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
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.cpp89 const SkMatrix& viewMatrix = geo.fViewMatrix; in init()
109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
280 if (this->usesLocalCoords() && !fGeoData[0].fViewMatrix.invert(&localMatrix)) { in onPrepareDraws()
312 bool vmPerspective = fGeoData[0].fViewMatrix.hasPerspective(); in onPrepareDraws()
346 resourceProvider, blob, args.fRun, args.fSubRun, args.fViewMatrix, args.fX, args.fY, in onPrepareDraws()
366 if (fNeedsGlyphTransform && !args.fViewMatrix.isIdentity()) { in onPrepareDraws()
370 if (args.fViewMatrix.hasPerspective()) { in onPrepareDraws()
373 args.fViewMatrix, pos, vertexStride, pos, vertexStride, in onPrepareDraws()
378 args.fViewMatrix, pos, vertexStride, in onPrepareDraws()
448 const SkMatrix& thisFirstMatrix = fGeoData[0].fViewMatrix; in onCombineIfPossible()
[all …]
DGrTessellatingPathRenderer.cpp215 , fViewMatrix(viewMatrix) in TessellatingPathOp()
267 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); in draw()
277 if (!fViewMatrix.invert(&vmi)) { in draw()
307 path.transform(fViewMatrix); in drawAA()
342 localCoordsType, fViewMatrix); in onPrepareDraws()
346 fViewMatrix); in onPrepareDraws()
373 SkMatrix fViewMatrix; member in __anon66fb31960211::TessellatingPathOp
392 *args.fViewMatrix, in onDrawPath()
/external/skia/src/gpu/effects/
DGrBezierEffect.h87 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix()
101 SkMatrix fViewMatrix; variable
154 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix()
168 SkMatrix fViewMatrix; variable
DGrBezierEffect.cpp32 SetTransform(pdman, shaderCaps, fViewMatrixUniform, ce.viewMatrix(), &fViewMatrix); in setData()
47 SkMatrix fViewMatrix; member in GrGLConicEffect
60 : fViewMatrix(SkMatrix::InvalidMatrix()) in GrGLConicEffect()
197 , fViewMatrix(viewMatrix) in GrConicEffect()
242 SetTransform(pdman, shaderCaps, fViewMatrixUniform, qe.viewMatrix(), &fViewMatrix); in setData()
257 SkMatrix fViewMatrix; member in GrGLQuadEffect
271 : fViewMatrix(SkMatrix::InvalidMatrix()) in GrGLQuadEffect()
373 , fViewMatrix(viewMatrix) in GrQuadEffect()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.h86 SkMatrix fViewMatrix; member
92 fViewMatrix = SkMatrix::InvalidMatrix(); in invalidate()
112 combined.preConcat(fViewMatrix); in getRTAdjustedGLMatrix()

1234