Home
last modified time | relevance | path

Searched refs:fProgramInfo (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/src/gpu/ops/
DRegionOp.cpp69 if (fProgramInfo) { in visitProxies()
70 fProgramInfo->visitFPProxies(func); in visitProxies()
85 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
101 fProgramInfo = fHelper.createProgramInfoWithStencil(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
108 if (!fProgramInfo) { in onPrepareDraws()
110 if (!fProgramInfo) { in onPrepareDraws()
125 QuadHelper helper(target, fProgramInfo->geomProc().vertexStride(), numRects); in onPrepareDraws()
147 if (!fProgramInfo || !fMesh) { in onExecute()
151 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
152 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
[all …]
DGrOvalOpFactory.cpp1220 if (fProgramInfo) { in visitProxies()
1221 fProgramInfo->visitFPProxies(func); in visitProxies()
1238 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
1260 fProgramInfo = fHelper.createProgramInfo(caps, in onCreateProgramInfo()
1273 if (!fProgramInfo) { in onPrepareDraws()
1275 if (!fProgramInfo) { in onPrepareDraws()
1282 VertexWriter vertices{target->makeVertexSpace(fProgramInfo->geomProc().vertexStride(), in onPrepareDraws()
1402 if (!fProgramInfo || !fMesh) { in onExecute()
1406 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
1407 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
[all …]
DDrawAtlasOp.cpp39 if (fProgramInfo) { in visitProxies()
40 fProgramInfo->visitFPProxies(func); in visitProxies()
51 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
88 GrProgramInfo* fProgramInfo = nullptr; member in __anon976c3de00111::DrawAtlasOpImpl
215 fProgramInfo = fHelper.createProgramInfo(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
222 if (!fProgramInfo) { in onPrepareDraws()
227 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
250 if (!fProgramInfo || !fMesh) { in onExecute()
254 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
255 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
DAALinearizingConvexPathRenderer.cpp134 if (fProgramInfo) { in visitProxies()
135 fProgramInfo->visitFPProxies(func); in visitProxies()
151 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
170 fProgramInfo = fHelper.createProgramInfoWithStencil(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
207 if (!fProgramInfo) { in onPrepareDraws()
209 if (!fProgramInfo) { in onPrepareDraws()
214 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
283 if (!fProgramInfo || fMeshes.isEmpty()) { in onExecute()
287 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
288 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
[all …]
DStrokeRectOp.cpp98 if (fProgramInfo) { in visitProxies()
99 fProgramInfo->visitFPProxies(func); in visitProxies()
173 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
197 fProgramInfo = fHelper.createProgramInfo(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
203 if (!fProgramInfo) { in onPrepareDraws()
207 size_t kVertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
246 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
247 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
268 GrProgramInfo* fProgramInfo = nullptr; member in skgpu::v1::StrokeRectOp::__anonaae996630111::NonAAStrokeRectOp
493 if (fProgramInfo) { in visitProxies()
[all …]
DLatticeOp.cpp178 if (fProgramInfo) { in visitProxies()
179 fProgramInfo->visitFPProxies(func); in visitProxies()
202 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
218 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, arena, writeView, in onCreateProgramInfo()
231 if (!fProgramInfo) { in onPrepareDraws()
233 if (!fProgramInfo) { in onPrepareDraws()
248 const size_t kVertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
329 if (!fProgramInfo || !fMesh) { in onExecute()
333 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
334 flushState->bindTextures(fProgramInfo->geomProc(), in onExecute()
[all …]
DTriangulatingPathRenderer.cpp183 if (fProgramInfo) { in visitProxies()
184 fProgramInfo->visitFPProxies(func); in visitProxies()
365 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
416 fProgramInfo = fHelper.createProgramInfoWithStencil(caps, arena, writeView, in onCreateProgramInfo()
505 if (!fProgramInfo) { in onExecute()
509 if (!fProgramInfo || !fMesh) { in onExecute()
513 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
514 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
533 GrProgramInfo* fProgramInfo = nullptr; member in __anon71c66a5b0111::TriangulatingPathOp
DDrawVerticesOp.cpp213 if (fProgramInfo) { in visitProxies()
214 fProgramInfo->visitFPProxies(func); in visitProxies()
225 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
296 GrProgramInfo* fProgramInfo = nullptr; member in skgpu::v1::DrawVerticesOp::__anon2e467b300111::DrawVerticesOpImpl
397 fProgramInfo = fHelper.createProgramInfo(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
483 if (!fProgramInfo) { in onExecute()
487 if (!fProgramInfo || !fMesh) { in onExecute()
491 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
492 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
DFillRRectOp.cpp62 if (fProgramInfo) { in visitProxies()
63 fProgramInfo->visitFPProxies(func); in visitProxies()
99 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
136 GrProgramInfo* fProgramInfo = nullptr; member in skgpu::v1::FillRRectOp::__anon5f310a840111::FillRRectOpImpl
514 if (!fProgramInfo) { in onPrepareDraws()
518 size_t instanceStride = fProgramInfo->geomProc().instanceStride(); in onPrepareDraws()
774 fProgramInfo = fHelper.createProgramInfo(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
785 flushState->bindPipelineAndScissorClip(*fProgramInfo, this->bounds()); in onExecute()
786 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
DDefaultPathRenderer.cpp412 if (fProgramInfo) { in visitProxies()
413 fProgramInfo->visitFPProxies(func); in visitProxies()
462 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
488 fProgramInfo = fHelper.createProgramInfoWithStencil(caps, arena, writeView, in onCreateProgramInfo()
507 if (!fProgramInfo) { in onExecute()
511 if (!fProgramInfo || !fMeshes.count()) { in onExecute()
515 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
516 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
578 GrProgramInfo* fProgramInfo = nullptr; member in __anoncbcfd3c70111::DefaultPathOp
DFillRectOp.cpp117 if (fProgramInfo) { in visitProxies()
118 fProgramInfo->visitFPProxies(func); in visitProxies()
200 return fProgramInfo; in programInfo()
216 fProgramInfo = fHelper.createProgramInfoWithStencil(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
311 if (!fProgramInfo) { in onExecute()
317 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
319 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
452 GrProgramInfo* fProgramInfo = nullptr; member in __anonc6a7d5320111::FillRectOpImpl
DAAConvexPathRenderer.cpp711 if (fProgramInfo) { in visitProxies()
712 fProgramInfo->visitFPProxies(func); in visitProxies()
728 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
747 fProgramInfo = fHelper.createProgramInfoWithStencil(caps, arena, writeView, usesMSAASurface, in onCreateProgramInfo()
757 if (!fProgramInfo) { in onPrepareDraws()
759 if (!fProgramInfo) { in onPrepareDraws()
764 const size_t kVertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
843 if (!fProgramInfo || fDraws.isEmpty()) { in onExecute()
847 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
848 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
[all …]
DShadowRRectOp.cpp526 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
539 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, arena, writeView, in onCreateProgramInfo()
606 if (!fProgramInfo) { in onExecute()
610 if (!fProgramInfo || !fMesh) { in onExecute()
614 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
615 flushState->bindTextures(fProgramInfo->geomProc(), *fFalloffView.proxy(), in onExecute()
616 fProgramInfo->pipeline()); in onExecute()
646 if (fProgramInfo) { in visitProxies()
647 fProgramInfo->visitFPProxies(func); in visitProxies()
657 GrProgramInfo* fProgramInfo = nullptr; member in __anon84451e630111::ShadowCircularRRectOp
DDashOp.cpp204 if (fProgramInfo) { in visitProxies()
205 fProgramInfo->visitFPProxies(func); in visitProxies()
280 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
315 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, in onCreateProgramInfo()
335 if (!fProgramInfo) { in onPrepareDraws()
337 if (!fProgramInfo) { in onPrepareDraws()
565 QuadHelper helper(target, fProgramInfo->geomProc().vertexStride(), totalRectCount); in onPrepareDraws()
620 if (!fProgramInfo || !fMesh) { in onExecute()
624 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
625 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
[all …]
DTextureOp.cpp276 if (fDesc && fDesc->fProgramInfo) { in visitProxies()
277 fDesc->fProgramInfo->visitFPProxies(func); in visitProxies()
415 GrProgramInfo* fProgramInfo = nullptr; member
657 return (fDesc) ? fDesc->fProgramInfo : nullptr; in programInfo()
686 fDesc->fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo( in onCreateProgramInfo()
929 if (!fDesc->fProgramInfo) { in onExecute()
931 SkASSERT(fDesc->fProgramInfo); in onExecute()
934 flushState->bindPipelineAndScissorClip(*fDesc->fProgramInfo, chainBounds); in onExecute()
944 flushState->bindTextures(fDesc->fProgramInfo->geomProc(), in onExecute()
946 fDesc->fProgramInfo->pipeline()); in onExecute()
/third_party/skia/tests/
DPrimitiveProcessorTest.cpp56 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
130 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, in onCreateProgramInfo()
145 if (!fProgramInfo) { in onPrepareDraws()
149 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
157 if (!fProgramInfo || !fMesh) { in onExecute()
161 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
162 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
168 GrProgramInfo* fProgramInfo = nullptr; member in __anond52a32e60111::Op
DGrThreadSafeCacheTest.cpp566 fProgramInfo = this->createProgramInfo(rContext->priv().caps(), arena, writeView, in onPrePrepare()
570 rContext->priv().recordProgramInfo(fProgramInfo); in onPrePrepare()
590 if (!fProgramInfo) { in onExecute()
591 fProgramInfo = this->createProgramInfo(flushState); in onExecute()
594 flushState->bindPipeline(*fProgramInfo, SkRect::MakeIWH(fWH, fWH)); in onExecute()
606 GrProgramInfo* fProgramInfo = nullptr; member in GrThreadSafeVertexTestOp
/third_party/skia/tools/gpu/
DTestOps.cpp102 if (fProgramInfo) { in visitProxies()
103 fProgramInfo->visitFPProxies(func); in visitProxies()
118 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
139 GrProgramInfo* fProgramInfo = nullptr; member in __anon154200980111::TestRectOp
187 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, in onCreateProgramInfo()
213 if (!fProgramInfo) { in onExecute()
217 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
218 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h41 GrSurfaceOrigin origin() const { return fProgramInfo.origin(); } in origin()
42 const GrPipeline& pipeline() const { return fProgramInfo.pipeline(); } in pipeline()
43 const GrGeometryProcessor& geometryProcessor() const { return fProgramInfo.geomProc(); } in geometryProcessor()
45 return fProgramInfo.pipeline().snapVerticesToPixelCenters(); in snapVerticesToPixelCenters()
47 bool hasPointSize() const { return fProgramInfo.primitiveType() == GrPrimitiveType::kPoints; } in hasPointSize()
102 const GrProgramInfo& fProgramInfo; variable
/third_party/skia/bench/
DVertexColorSpaceBench.cpp172 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
184 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, in onCreateProgramInfo()
199 if (!fProgramInfo) { in onPrepareDraws()
203 size_t vertexStride = fProgramInfo->geomProc().vertexStride(); in onPrepareDraws()
266 if (!fProgramInfo || !fMesh) { in onExecute()
270 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
271 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
281 GrProgramInfo* fProgramInfo = nullptr; member in __anon4c33a5c30111::Op
/third_party/skia/gm/
Dfwidth_squircle.cpp213 fProgramInfo = this->createProgramInfo(context->priv().caps(), arena, writeView, in onPrePrepare()
217 context->priv().recordProgramInfo(fProgramInfo); in onPrePrepare()
236 if (!fProgramInfo) { in onExecute()
237 fProgramInfo = this->createProgramInfo(flushState); in onExecute()
240 flushState->bindPipeline(*fProgramInfo, SkRect::MakeIWH(kWidth, kHeight)); in onExecute()
257 GrProgramInfo* fProgramInfo = nullptr; member in __anonebcb2e1b0111::FwidthSquircleTestOp
Dbeziereffects.cpp70 if (fProgramInfo) { in visitProxies()
71 fProgramInfo->visitFPProxies(func); in visitProxies()
88 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo()
105 fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo(caps, arena, writeView, in onCreateProgramInfo()
117 if (!fProgramInfo) { in onExecute()
121 if (!fProgramInfo) { in onExecute()
125 flushState->bindPipelineAndScissorClip(*fProgramInfo, chainBounds); in onExecute()
126 flushState->bindTextures(fProgramInfo->geomProc(), nullptr, fProgramInfo->pipeline()); in onExecute()
140 GrProgramInfo* fProgramInfo = nullptr; member in skiagm::BezierTestOp
Dclockwise.cpp192 fProgramInfo = this->createProgramInfo(context->priv().caps(), arena, writeView, in onPrePrepare()
196 context->priv().recordProgramInfo(fProgramInfo); in onPrePrepare()
215 if (!fProgramInfo) { in onExecute()
216 fProgramInfo = this->createProgramInfo(flushState); in onExecute()
219 flushState->bindPipeline(*fProgramInfo, SkRect::MakeXYWH(0, fY, 100, 100)); in onExecute()
233 GrProgramInfo* fProgramInfo = nullptr; member in __anonf75a82d20111::ClockwiseTestOp
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp155 SkString description = GrProgramDesc::Describe(fProgramInfo, *this->caps()); in storeShadersInCache()
283 bool usesInput = SkToBool(fProgramInfo.renderPassBarriers() & GrXferBarrierFlags::kTexture); in finalize()
321 (fProgramInfo.colorLoadOp() == GrLoadOp::kLoad && in finalize()
322 fGpu->vkCaps().programInfoWillUseDiscardableMSAA(fProgramInfo))) { in finalize()
326 fProgramInfo, shaderStageInfo, numShaderStages, compatibleRenderPass, pipelineLayout, in finalize()
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp166 SkString description = GrProgramDesc::Describe(fProgramInfo, *fGpu->caps()); in storeShaderInCache()
374 …if (gpu()->getContext()->getProcessName() == "render_service" && fProgramInfo.pipeline().checkAFRe… in finalize()
412 if (fProgramInfo.geomProc().willUseTessellationShaders()) { in finalize()

12