/third_party/skia/src/gpu/ops/ |
D | RegionOp.cpp | 69 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 …]
|
D | DrawAtlasOp.cpp | 39 if (fProgramInfo) { in visitProxies() 40 fProgramInfo->visitFPProxies(func); in visitProxies() 51 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo() 88 GrProgramInfo* fProgramInfo = nullptr; member in __anon69d151a10111::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()
|
D | GrOvalOpFactory.cpp | 1220 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 …]
|
D | AALinearizingConvexPathRenderer.cpp | 134 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 …]
|
D | StrokeRectOp.cpp | 98 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::__anonc9f122440111::NonAAStrokeRectOp 493 if (fProgramInfo) { in visitProxies() [all …]
|
D | LatticeOp.cpp | 178 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 …]
|
D | TriangulatingPathRenderer.cpp | 183 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 __anon76ea7bdc0111::TriangulatingPathOp
|
D | FillRRectOp.cpp | 62 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::__anon31961e450111::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()
|
D | DrawVerticesOp.cpp | 213 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::__anon2d6083510111::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()
|
D | DefaultPathRenderer.cpp | 412 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 __anon416918880111::DefaultPathOp
|
D | FillRectOp.cpp | 117 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 __anon50e8f4d30111::FillRectOpImpl
|
D | AAConvexPathRenderer.cpp | 711 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 …]
|
D | ShadowRRectOp.cpp | 526 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 __anon843e26640111::ShadowCircularRRectOp
|
D | DashOp.cpp | 204 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 …]
|
D | TextureOp.cpp | 276 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/ |
D | PrimitiveProcessorTest.cpp | 56 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 __anon02e6c7470111::Op
|
D | GrThreadSafeCacheTest.cpp | 566 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/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.h | 41 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/tools/gpu/ |
D | TestOps.cpp | 102 if (fProgramInfo) { in visitProxies() 103 fProgramInfo->visitFPProxies(func); in visitProxies() 118 GrProgramInfo* programInfo() override { return fProgramInfo; } in programInfo() 139 GrProgramInfo* fProgramInfo = nullptr; member in __anon351797990111::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/bench/ |
D | VertexColorSpaceBench.cpp | 172 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 __anon2e8eb2040111::Op
|
/third_party/skia/gm/ |
D | fwidth_squircle.cpp | 213 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 __anon0653a53c0111::FwidthSquircleTestOp
|
D | beziereffects.cpp | 70 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
|
D | clockwise.cpp | 192 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 __anon96e475330111::ClockwiseTestOp
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 155 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/ |
D | GrGLProgramBuilder.cpp | 166 SkString description = GrProgramDesc::Describe(fProgramInfo, *fGpu->caps()); in storeShaderInCache() 380 if (fProgramInfo.geomProc().willUseTessellationShaders()) { in finalize()
|