/third_party/skia/src/gpu/vk/ |
D | GrVkUniformHandler.h | 100 , fSamplers(kUniformsPerBlock) in GrVkUniformHandler() 121 int numSamplers() const { return fSamplers.count(); } in numSamplers() 123 return fSamplers.item(handle.toIndex()).fVariable.c_str(); in samplerVariable() 129 return fSamplers.item(handle.toIndex()).fVisibility; in samplerVisibility() 133 return fSamplers.item(u.toIndex()).fImmutableSampler; in immutableSampler() 157 UniformInfoArray fSamplers; variable
|
D | GrVkUniformHandler.cpp | 191 for (VkUniformInfo& sampler : fSamplers.items()) { in ~GrVkUniformHandler() 257 layoutQualifier.appendf("set=%d, binding=%d", kSamplerDescSet, fSamplers.count()); in addSampler() 274 fSamplers.push_back(tempInfo); in addSampler() 282 fSamplers.back().fImmutableSampler = sampler; in addSampler() 289 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); in addSampler() 290 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 314 for (const VkUniformInfo& sampler : fSamplers.items()) { in appendUniformDecls()
|
D | GrVkResourceProvider.cpp | 227 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler() 233 fSamplers.add(sampler); in findOrCreateCompatibleSampler() 493 fSamplers.foreach([&](auto* elt) { elt->unref(); }); in destroyResources() 494 fSamplers.reset(); in destroyResources()
|
D | GrVkResourceProvider.h | 327 SkTDynamicHash<GrVkSampler, GrVkSampler::Key> fSamplers; variable
|
D | GrVkPipelineStateBuilder.cpp | 351 fUniformHandler.fSamplers, in finalize()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.h | 60 , fSamplers(kUniformsPerBlock) in GrMtlUniformHandler() 79 int numSamplers() const { return fSamplers.count(); } in numSamplers() 81 return fSamplers.item(handle.toIndex()).fVariable.c_str(); in samplerVariable() 87 return fSamplers.item(handle.toIndex()).fVisibility; in samplerVisibility() 97 UniformInfoArray fSamplers; variable
|
D | GrMtlUniformHandler.mm | 234 int binding = fSamplers.count(); 259 fSamplers.push_back(tempInfo); 262 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); 263 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); 267 for (const UniformInfo& sampler : fSamplers.items()) {
|
D | GrMtlResourceProvider.mm | 61 sampler = fSamplers.find(GrMtlSampler::GenerateKey(params)); 64 fSamplers.add(sampler); 161 fSamplers.foreach([&](GrMtlSampler* sampler) { sampler->unref(); }); 162 fSamplers.reset();
|
D | GrMtlResourceProvider.h | 91 SkTDynamicHash<GrMtlSampler, GrMtlSampler::Key> fSamplers; variable
|
/third_party/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 90 fSamplers.push_back(tempInfo); in addSampler() 92 SkASSERT(fSamplers.count() == fSamplerSwizzles.count()); in addSampler() 94 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 104 for (const UniformInfo& sampler : fSamplers.items()) { in appendUniformDecls() 120 for (GLUniformInfo& sampler : fSamplers.items()) { in bindUniformLocations() 135 for (GLUniformInfo& sampler : fSamplers.items()) { in getUniformLocations()
|
D | GrGLUniformHandler.h | 45 , fSamplers(kUniformsPerBlock) {} in GrGLUniformHandler() 59 return fSamplers.item(handle.toIndex()).fVariable.c_str(); in samplerVariable() 80 UniformInfoArray fSamplers; variable
|
D | GrGLGpu.cpp | 228 std::fill_n(fSamplers, kNumSamplers, 0); in SamplerObjectCache() 236 for (GrGLuint sampler : fSamplers) { in ~SamplerObjectCache() 247 if (!fSamplers[index]) { in bindSampler() 253 fSamplers[index] = s; in bindSampler() 266 fTextureUnitStates[unitIdx].fSamplerIDIfKnown != fSamplers[index]) { in bindSampler() 267 GR_GL_CALL(fGpu->glInterface(), BindSampler(unitIdx, fSamplers[index])); in bindSampler() 268 fTextureUnitStates[unitIdx].fSamplerIDIfKnown = fSamplers[index]; in bindSampler() 296 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(kNumSamplers, fSamplers)); in release() 297 std::fill_n(fSamplers, kNumSamplers, 0); in release() 311 GrGLuint fSamplers[kNumSamplers]; member in GrGLGpu::SamplerObjectCache
|
/third_party/skia/src/gpu/ |
D | GrSPIRVUniformHandler.cpp | 15 , fSamplers(kUniformsPerBlock) in GrSPIRVUniformHandler() 232 int binding = fSamplers.count() * 2; in addSampler() 251 fSamplers.push_back(tempInfo); in addSampler() 253 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); in addSampler() 269 fSamplers.back().fVariable.getName().c_str()); in addSampler() 271 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 285 for (const SPIRVUniformInfo& sampler : fSamplers.items()) { in appendUniformDecls()
|
D | GrSPIRVUniformHandler.h | 66 UniformInfoArray fSamplers; variable
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DResourceProvider.cpp | 31 fSamplers.reset(); in destroyResources() 161 D3D12_CPU_DESCRIPTOR_HANDLE* samplerPtr = fSamplers.find(key); in findOrCreateCompatibleSampler() 176 fSamplers.set(key, sampler); in findOrCreateCompatibleSampler()
|
D | GrD3DResourceProvider.h | 168 SkTHashMap<uint32_t, D3D12_CPU_DESCRIPTOR_HANDLE> fSamplers; variable
|
D | GrD3DPipelineStateBuilder.cpp | 661 fUniformHandler.fSamplers.count(), in finalize()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 879 auto i = fSamplers.find(samplerState); in getOrCreateSampler() 880 if (i != fSamplers.end()) { in getOrCreateSampler() 890 fSamplers.insert(std::pair<GrSamplerState, wgpu::Sampler>(samplerState, sampler)); in getOrCreateSampler()
|
D | GrDawnGpu.h | 249 std::unordered_map<GrSamplerState, wgpu::Sampler, SamplerHash> fSamplers; variable
|
D | GrDawnProgramBuilder.cpp | 295 int textureCount = builder.fUniformHandler.fSamplers.count(); in Build()
|
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 539 fUniformHandler.fSamplers, in createProgram()
|