/external/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 | 96 SkASSERT(geomProcTextures || !geomProc.numTextureSamplers()); in setAndBindTextures() 102 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setAndBindTextures()
|
/external/skia/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 19 int numTextureSamplers, in append_index_uv_varyings() argument 31 if (numTextureSamplers <= 1) { in append_index_uv_varyings() 44 if (numTextureSamplers <= 1) { in append_index_uv_varyings() 80 int numTextureSamplers, in append_multitexture_lookup() argument 84 SkASSERT(numTextureSamplers > 0); in append_multitexture_lookup() 86 if (numTextureSamplers <= 0) { in append_multitexture_lookup() 92 for (int i = 0; i < numTextureSamplers-1; ++i) { in append_multitexture_lookup() 98 args.fFragBuilder->appendTextureLookup(args.fTexSamplers[numTextureSamplers - 1], coordName); in append_multitexture_lookup()
|
D | GrDistanceFieldGeoProc.cpp | 71 append_index_uv_varyings(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 86 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 194 b->add32(dfTexEffect.numTextureSamplers()); in GenKey() 346 append_index_uv_varyings(args, dfPathEffect.numTextureSamplers(), in onEmitCode() 379 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode() 480 b->add32(dfTexEffect.numTextureSamplers()); in GenKey() 635 append_index_uv_varyings(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 690 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 698 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 703 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() [all …]
|
D | GrBitmapTextGeoProc.cpp | 43 append_index_uv_varyings(args, btgp.numTextureSamplers(), btgp.inTextureCoords().name(), in onEmitCode() 67 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode() 111 b->add32(btgp.numTextureSamplers(),"numTextures"); in GenKey()
|
/external/skqp/src/gpu/ |
D | GrProgramDesc.cpp | 54 int numTextureSamplers = fp.numTextureSamplers(); in add_sampler_keys() local 56 int word32Count = (numTextureSamplers + 1) / 2; in add_sampler_keys() 61 for (int i = 0; i < numTextureSamplers; ++i) { in add_sampler_keys() 77 if (numTextureSamplers & 0x1) { in add_sampler_keys() 78 k16[numTextureSamplers] = 0; in add_sampler_keys() 84 int numTextureSamplers = pp.numTextureSamplers(); in add_sampler_keys() local 86 int word32Count = (numTextureSamplers + 1) / 2; in add_sampler_keys() 91 for (int i = 0; i < numTextureSamplers; ++i) { in add_sampler_keys() 105 if (numTextureSamplers & 0x1) { in add_sampler_keys() 106 k16[numTextureSamplers] = 0; in add_sampler_keys()
|
D | GrGpuCommandBuffer.cpp | 56 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in draw() 63 int n = primProc.numTextureSamplers() * meshCount; in draw() 74 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in draw() 80 primProcProxies[j*primProc.numTextureSamplers() + i]; in draw()
|
D | GrOpFlushState.cpp | 110 for (int i = 0; i < gp->numTextureSamplers(); ++i) { in draw() 115 int n = gp->numTextureSamplers() * meshCnt; in draw() 180 for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { in ~Draw() 185 int n = fGeometryProcessor->numTextureSamplers() * fMeshCnt; in ~Draw()
|
D | GrFragmentProcessor.h | 107 int numTextureSamplers() const { return fTextureSamplerCnt; } in numTextureSamplers() function 241 &GrFragmentProcessor::numTextureSamplers,
|
D | GrPrimitiveProcessor.cpp | 23 SkASSERT(i >= 0 && i < this->numTextureSamplers()); in textureSampler()
|
/external/skqp/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 57 int numTextureSamplers, in append_multitexture_lookup() argument 62 for (int i = 0; i < numTextureSamplers-1; ++i) { in append_multitexture_lookup() 69 args.fFragBuilder->appendTextureLookup(args.fTexSamplers[numTextureSamplers-1], coordName, in append_multitexture_lookup()
|
D | GrYUVtoRGBEffect.cpp | 72 for (int i = 0; i < this->numTextureSamplers(); ++i) { in dumpInfo() 155 b->add32(this->numTextureSamplers()); in onGetGLSLProcessorKey() 181 for (int i = 0; i < this->numTextureSamplers(); ++i) { in onIsEqual() 197 int numPlanes = src.numTextureSamplers(); in GrYUVtoRGBEffect() 215 SkASSERT(index < this->numTextureSamplers()); in onTextureSampler()
|
D | GrDistanceFieldGeoProc.cpp | 88 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 193 b->add32(dfTexEffect.numTextureSamplers()); in GenKey() 388 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode() 497 b->add32(dfTexEffect.numTextureSamplers()); in GenKey() 710 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 718 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 723 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode() 813 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
|
D | GrBitmapTextGeoProc.cpp | 69 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode() 107 b->add32(btgp.numTextureSamplers()); in GenKey()
|
/external/skia/src/gpu/ |
D | GrProgramDesc.cpp | 59 int numTextureSamplers = geomProc.numTextureSamplers(); in add_geomproc_sampler_keys() local 60 b->add32(numTextureSamplers, "ppNumSamplers"); in add_geomproc_sampler_keys() 61 for (int i = 0; i < numTextureSamplers; ++i) { in add_geomproc_sampler_keys()
|
D | GrOpsRenderPass.cpp | 107 bool hasTextures = (programInfo.geomProc().numTextureSamplers() > 0); in bindPipeline() 140 SkASSERT((geomProc.numTextureSamplers() > 0) == SkToBool(geomProcTextures)); in bindTextures() 141 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in bindTextures()
|
D | GrGeometryProcessor.cpp | 28 SkASSERT(i >= 0 && i < this->numTextureSamplers()); in textureSampler()
|
D | GrOpFlushState.cpp | 156 for (int i = 0; i < geomProc->numTextureSamplers(); ++i) { in recordDraw() 240 for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { in ~Draw()
|
/external/skqp/src/gpu/gl/ |
D | GrGLProgram.cpp | 93 int nextTexSamplerIdx = primProc.numTextureSamplers(); in updateUniformsAndTextureBindings() 111 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in updatePrimitiveProcessorTextureBindings() 124 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setFragmentData()
|
/external/skia/src/gpu/gl/ |
D | GrGLProgram.cpp | 130 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in bindTextures() 136 int nextTexSamplerIdx = geomProc.numTextureSamplers(); in bindTextures()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 202 SkASSERT(primProcTextures || !primProc.numTextureSamplers()); in setAndBindTextures() 213 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in setAndBindTextures() 224 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setAndBindTextures()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 104 SkAutoSTMalloc<4, SamplerHandle> texSamplers(proc.numTextureSamplers()); in emitAndInstallPrimProc() 105 for (int i = 0; i < proc.numTextureSamplers(); ++i) { in emitAndInstallPrimProc() 190 for (int i = 0; i < subFP->numTextureSamplers(); ++i) { in emitAndInstallFragProc()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 68 SkASSERT(primProcTextures || !primProc.numTextureSamplers()); 74 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { 86 for (int i = 0; i < fp->numTextureSamplers(); ++i) {
|