/external/skqp/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 79 UniformInfo& sampler = fSamplers.push_back(); in addSampler() 87 SkASSERT(fSamplers.count() == fSamplerSwizzles.count()); in addSampler() 88 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 98 for (int i = 0; i < fSamplers.count(); ++i) { in appendUniformDecls() 99 if (fSamplers[i].fVisibility & visibility) { in appendUniformDecls() 100 fSamplers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls() 113 for (int i = 0; i < fSamplers.count(); ++i, ++currUniform) { in bindUniformLocations() 114 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations() 115 fSamplers[i].fLocation = currUniform; in bindUniformLocations() 128 for (int i = 0; i < fSamplers.count(); ++i) { in getUniformLocations() [all …]
|
D | GrGLUniformHandler.h | 32 , fSamplers(kUniformsPerBlock) {} in GrGLUniformHandler() 46 return fSamplers[handle.toIndex()].fVariable; in samplerVariable() 67 UniformInfoArray fSamplers; variable
|
/external/skqp/src/gpu/vk/ |
D | GrVkUniformHandler.h | 60 , fSamplers(kUniformsPerBlock) in GrVkUniformHandler() 78 int numSamplers() const { return fSamplers.count(); } in numSamplers() 80 return fSamplers[handle.toIndex()].fVariable; in samplerVariable() 86 return fSamplers[handle.toIndex()].fVisibility; in samplerVisibility() 90 return fSamplers[u.toIndex()].fImmutableSampler; in immutableSampler() 105 UniformInfoArray fSamplers; variable
|
D | GrVkUniformHandler.cpp | 275 UniformInfo& info = fSamplers.push_back(); in addSampler() 281 layoutQualifier.appendf("set=%d, binding=%d", kSamplerDescSet, fSamplers.count() - 1); in addSampler() 297 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); in addSampler() 298 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 306 for (int i = 0; i < fSamplers.count(); ++i) { in appendUniformDecls() 307 const UniformInfo& sampler = fSamplers[i]; in appendUniformDecls()
|
D | GrVkResourceProvider.cpp | 228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler() 234 fSamplers.add(sampler); in findOrCreateCompatibleSampler() 411 SkTDynamicHash<GrVkSampler, GrVkSampler::Key>::Iter iter(&fSamplers); in destroyResources() 415 fSamplers.reset(); in destroyResources() 484 SkTDynamicHash<GrVkSampler, GrVkSampler::Key>::Iter iter(&fSamplers); in abandonResources() 488 fSamplers.reset(); in abandonResources()
|
D | GrVkResourceProvider.h | 278 SkTDynamicHash<GrVkSampler, GrVkSampler::Key> fSamplers; variable
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlUniformHandler.h | 49 , fSamplers(kUniformsPerBlock) in GrMtlUniformHandler() 67 int numSamplers() const { return fSamplers.count(); } in numSamplers() 69 return fSamplers[handle.toIndex()].fVariable; in samplerVariable() 75 return fSamplers[handle.toIndex()].fVisibility; in samplerVisibility() 90 UniformInfoArray fSamplers; variable
|
D | GrMtlUniformHandler.mm | 267 UniformInfo& info = fSamplers.push_back(); 273 layoutQualifier.appendf("binding=%d", fSamplers.count() - 1); 278 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); 279 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); 287 for (int i = 0; i < fSamplers.count(); ++i) { 288 const UniformInfo& sampler = fSamplers[i];
|
/external/skia/src/gpu/vk/ |
D | GrVkUniformHandler.h | 102 , fSamplers(kUniformsPerBlock) in GrVkUniformHandler() 124 int numSamplers() const { return fSamplers.count(); } in numSamplers() 126 return fSamplers.item(handle.toIndex()).fVariable.c_str(); in samplerVariable() 132 return fSamplers.item(handle.toIndex()).fVisibility; in samplerVisibility() 136 return fSamplers.item(u.toIndex()).fImmutableSampler; in immutableSampler() 160 UniformInfoArray fSamplers; variable
|
D | GrVkUniformHandler.cpp | 218 for (VkUniformInfo& sampler : fSamplers.items()) { in ~GrVkUniformHandler() 278 layoutQualifier.appendf("set=%d, binding=%d", kSamplerDescSet, fSamplers.count()); in addSampler() 280 VkUniformInfo& info = fSamplers.push_back(VkUniformInfo{ in addSampler() 303 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); in addSampler() 304 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 328 for (const VkUniformInfo& sampler : fSamplers.items()) { in appendUniformDecls()
|
D | GrVkResourceProvider.cpp | 225 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler() 231 fSamplers.add(sampler); in findOrCreateCompatibleSampler() 491 fSamplers.foreach([&](auto* elt) { elt->unref(); }); in destroyResources() 492 fSamplers.reset(); in destroyResources()
|
D | GrVkResourceProvider.h | 325 SkTDynamicHash<GrVkSampler, GrVkSampler::Key> fSamplers; variable
|
/external/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.h | 59 , fSamplers(kUniformsPerBlock) in GrMtlUniformHandler() 78 int numSamplers() const { return fSamplers.count(); } in numSamplers() 80 return fSamplers.item(handle.toIndex()).fVariable.c_str(); in samplerVariable() 86 return fSamplers.item(handle.toIndex()).fVisibility; in samplerVisibility() 96 UniformInfoArray fSamplers; variable
|
D | GrMtlResourceProvider.mm | 60 sampler = fSamplers.find(GrMtlSampler::GenerateKey(params)); 63 fSamplers.add(sampler); 70 fSamplers.foreach([&](GrMtlSampler* sampler) { sampler->unref(); }); 71 fSamplers.reset();
|
D | GrMtlUniformHandler.mm | 260 int binding = fSamplers.count(); 272 fSamplers.push_back(MtlUniformInfo{ 283 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); 284 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); 288 for (const UniformInfo& sampler : fSamplers.items()) {
|
D | GrMtlResourceProvider.h | 85 SkTDynamicHash<GrMtlSampler, GrMtlSampler::Key> fSamplers; variable
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 75 fSamplers.push_back(GrGLProgramDataManager::GLUniformInfo{ in addSampler() 85 SkASSERT(fSamplers.count() == fSamplerSwizzles.count()); in addSampler() 86 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 96 for (const UniformInfo& sampler : fSamplers.items()) { in appendUniformDecls() 112 for (GLUniformInfo& sampler : fSamplers.items()) { in bindUniformLocations() 127 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
|
/external/skia/src/gpu/ |
D | GrSPIRVUniformHandler.cpp | 15 , fSamplers(kUniformsPerBlock) in GrSPIRVUniformHandler() 249 int binding = fSamplers.count() * 2; in addSampler() 254 SPIRVUniformInfo& info = fSamplers.push_back(SPIRVUniformInfo{ in addSampler() 265 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); in addSampler() 284 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 298 for (const SPIRVUniformInfo& sampler : fSamplers.items()) { in appendUniformDecls()
|
D | GrSPIRVUniformHandler.h | 66 UniformInfoArray fSamplers; variable
|
/external/skqp/src/gpu/effects/ |
D | GrYUVtoRGBEffect.h | 42 fSamplers[i].reset(std::move(proxies[i]), in GrYUVtoRGBEffect() 46 GrCoordTransform(fSamplerTransforms[i], fSamplers[i].proxy()); in GrYUVtoRGBEffect() 62 TextureSampler fSamplers[4]; variable
|
D | GrYUVtoRGBEffect.cpp | 199 fSamplers[i].reset(sk_ref_sp(src.fSamplers[i].proxy()), src.fSamplers[i].samplerState()); in GrYUVtoRGBEffect() 216 return fSamplers[index]; in onTextureSampler()
|
/external/skqp/tests/ |
D | ProcessorTest.cpp | 97 : INHERITED(kTestFP_ClassID, kNone_OptimizationFlags), fSamplers(4) { in TestFP() 99 fSamplers.emplace_back(proxy); in TestFP() 101 this->setTextureSamplerCnt(fSamplers.count()); in TestFP() 105 : INHERITED(kTestFP_ClassID, kNone_OptimizationFlags), fSamplers(4) { in TestFP() 110 : INHERITED(kTestFP_ClassID, that.optimizationFlags()), fSamplers(4) { in TestFP() 111 for (int i = 0; i < that.fSamplers.count(); ++i) { in TestFP() 112 fSamplers.emplace_back(that.fSamplers[i]); in TestFP() 117 this->setTextureSamplerCnt(fSamplers.count()); in TestFP() 135 const TextureSampler& onTextureSampler(int i) const override { return fSamplers[i]; } in onTextureSampler() 137 GrTAllocator<TextureSampler> fSamplers; member in __anonf75262d90111::TestFP
|
/external/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
|