/third_party/skia/src/gpu/d3d/ |
D | GrD3DRootSignature.cpp | 13 sk_sp<GrD3DRootSignature> GrD3DRootSignature::Make(GrD3DGpu* gpu, int numTextureSamplers, in Make() argument 25 int numShaderViews = numTextureSamplers + numUAVs; in Make() 26 SkAutoTArray<D3D12_DESCRIPTOR_RANGE> samplerRanges(numTextureSamplers); in Make() 28 if (numTextureSamplers) { in Make() 35 for (int i = 0; i < numTextureSamplers; ++i) { in Make() 56 shaderViewRanges[numTextureSamplers].RangeType = D3D12_DESCRIPTOR_RANGE_TYPE_UAV; in Make() 57 shaderViewRanges[numTextureSamplers].NumDescriptors = numUAVs; in Make() 60 shaderViewRanges[numTextureSamplers].BaseShaderRegister = 2 * numTextureSamplers; in Make() 62 shaderViewRanges[numTextureSamplers].RegisterSpace = in Make() 65 shaderViewRanges[numTextureSamplers].OffsetInDescriptorsFromTableStart = in Make() [all …]
|
D | GrD3DRootSignature.h | 18 static sk_sp<GrD3DRootSignature> Make(GrD3DGpu* gpu, int numTextureSamplers, int numUAVs); 29 bool isCompatible(int numTextureSamplers, int numUAVs) const; 43 GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, int numUAVs);
|
D | GrD3DResourceProvider.cpp | 52 sk_sp<GrD3DRootSignature> GrD3DResourceProvider::findOrCreateRootSignature(int numTextureSamplers, in findOrCreateRootSignature() argument 55 if (fRootSignatures[i]->isCompatible(numTextureSamplers, numUAVs)) { in findOrCreateRootSignature() 60 auto rootSig = GrD3DRootSignature::Make(fGpu, numTextureSamplers, numUAVs); in findOrCreateRootSignature()
|
D | GrD3DPipelineState.cpp | 97 SkASSERT(geomProcTextures || !geomProc.numTextureSamplers()); in setAndBindTextures() 103 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setAndBindTextures()
|
D | GrD3DResourceProvider.h | 43 sk_sp<GrD3DRootSignature> findOrCreateRootSignature(int numTextureSamplers,
|
D | GrD3DOpsRenderPass.cpp | 224 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in onBindTextures()
|
/third_party/skia/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 18 int numTextureSamplers, in append_index_uv_varyings() argument 30 if (numTextureSamplers <= 1) { in append_index_uv_varyings() 51 if (numTextureSamplers <= 1) { in append_index_uv_varyings() 97 int numTextureSamplers, in append_multitexture_lookup() argument 101 SkASSERT(numTextureSamplers > 0); in append_multitexture_lookup() 103 if (numTextureSamplers <= 0) { in append_multitexture_lookup() 109 for (int i = 0; i < numTextureSamplers-1; ++i) { in append_multitexture_lookup() 115 args.fFragBuilder->appendTextureLookup(args.fTexSamplers[numTextureSamplers - 1], coordName); in append_multitexture_lookup()
|
D | GrDistanceFieldGeoProc.cpp | 96 dfTexEffect.numTextureSamplers(), in onEmitCode() 112 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 273 b->add32(this->numTextureSamplers()); in addToKey() 360 dfPathEffect.numTextureSamplers(), in onEmitCode() 397 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode() 540 b->add32(this->numTextureSamplers()); in addToKey() 644 dfTexEffect.numTextureSamplers(), in onEmitCode() 701 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 709 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 714 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() [all …]
|
D | GrBitmapTextGeoProc.cpp | 61 btgp.numTextureSamplers(), in onEmitCode() 89 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode() 187 b->add32(this->numTextureSamplers(), "numTextures"); in addToKey()
|
/third_party/skia/src/gpu/ |
D | GrProgramDesc.cpp | 60 int numTextureSamplers = geomProc.numTextureSamplers(); in add_geomproc_sampler_keys() local 61 b->add32(numTextureSamplers, "ppNumSamplers"); in add_geomproc_sampler_keys() 62 for (int i = 0; i < numTextureSamplers; ++i) { in add_geomproc_sampler_keys()
|
D | GrOpsRenderPass.cpp | 111 bool hasTextures = (programInfo.geomProc().numTextureSamplers() > 0); in bindPipeline() 144 SkASSERT((geomProc.numTextureSamplers() > 0) == SkToBool(geomProcTextures)); in bindTextures() 145 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in bindTextures()
|
D | GrOpFlushState.cpp | 165 for (int i = 0; i < geomProc->numTextureSamplers(); ++i) { in recordDraw() 249 for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { in ~Draw()
|
D | GrOpFlushState.h | 208 SkASSERT(geomProc.numTextureSamplers() == 1); in bindTextures()
|
D | GrGeometryProcessor.h | 166 int numTextureSamplers() const { return fTextureSamplerCnt; } in numTextureSamplers() function
|
D | GrGeometryProcessor.cpp | 22 SkASSERT(i >= 0 && i < this->numTextureSamplers()); in textureSampler()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLProgram.cpp | 127 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in bindTextures() 133 int nextTexSamplerIdx = geomProc.numTextureSamplers(); in bindTextures()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 117 SkASSERT(geomProcTextures || !geomProc.numTextureSamplers()); in setAndBindTextures() 128 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setAndBindTextures()
|
D | GrVkOpsRenderPass.cpp | 692 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in onBindTextures()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 96 SkAutoSTArray<4, SamplerHandle> texSamplers(geomProc.numTextureSamplers()); in emitAndInstallPrimProc() 97 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in emitAndInstallPrimProc()
|
/third_party/skia/src/gpu/ops/ |
D | AtlasTextOp.cpp | 351 if (gp->numTextureSamplers() != (int) numActiveViews) { in createDrawForGeneratedGlyphs() 354 for (unsigned i = gp->numTextureSamplers(); i < numActiveViews; ++i) { in createDrawForGeneratedGlyphs()
|
D | SmallPathRenderer.cpp | 549 if (gp->numTextureSamplers() != numActiveProxies) { in flush() 550 for (int i = gp->numTextureSamplers(); i < numActiveProxies; ++i) { in flush()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 98 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) {
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnProgramBuilder.cpp | 529 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setTextures()
|