Searched refs:fSamplers (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 66 UniformInfo& sampler = fSamplers.push_back(); in addSampler() 75 SkASSERT(fSamplers.count() == fSamplerSwizzles.count()); in addSampler() 76 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 111 for (int i = 0; i < fSamplers.count(); ++i) { in appendUniformDecls() 112 if (fSamplers[i].fVisibility & visibility) { in appendUniformDecls() 113 fSamplers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls() 132 for (int i = 0; i < fSamplers.count(); ++i, ++currUniform) { in bindUniformLocations() 133 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations() 134 fSamplers[i].fLocation = currUniform; in bindUniformLocations() 152 for (int i = 0; i < fSamplers.count(); ++i) { in getUniformLocations() [all …]
|
D | GrGLUniformHandler.h | 32 , fSamplers(kUniformsPerBlock) in GrGLUniformHandler() 47 return fSamplers[handle.toIndex()].fVariable; in samplerVariable() 76 UniformInfoArray fSamplers; variable
|
/external/skia/src/gpu/vk/ |
D | GrVkUniformHandler.h | 48 , fSamplers(kUniformsPerBlock) in GrVkUniformHandler() 68 int numSamplers() const { return fSamplers.count(); } in numSamplers() 70 return fSamplers[handle.toIndex()].fVariable; in samplerVariable() 76 return fSamplers[handle.toIndex()].fVisibility; in samplerVisibility() 104 UniformInfoArray fSamplers; variable
|
D | GrVkPipelineState.cpp | 54 fSamplers.setReserve(numSamplers); in GrVkPipelineState() 81 SkASSERT(!fSamplers.count()); in ~GrVkPipelineState() 90 for (int i = 0; i < fSamplers.count(); ++i) { in freeTempResources() 91 fSamplers[i]->unref(gpu); in freeTempResources() 93 fSamplers.rewind(); in freeTempResources() 149 for (int i = 0; i < fSamplers.count(); ++i) { in abandonGPUResources() 150 fSamplers[i]->unrefAndAbandon(); in abandonGPUResources() 152 fSamplers.rewind(); in abandonGPUResources() 319 fSamplers.push(gpu->resourceProvider().findOrCreateCompatibleSampler(params, in writeSamplers() 332 imageInfo.sampler = fSamplers[i]->sampler(); in writeSamplers() [all …]
|
D | GrVkUniformHandler.cpp | 204 UniformInfo& info = fSamplers.push_back(); in addSampler() 211 layoutQualifier.appendf("set=%d, binding=%d", kSamplerDescSet, fSamplers.count() - 1); in addSampler() 216 SkASSERT(fSamplerSwizzles.count() == fSamplers.count()); in addSampler() 217 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler() 223 for (int i = 0; i < fSamplers.count(); ++i) { in appendUniformDecls() 224 const UniformInfo& sampler = fSamplers[i]; in appendUniformDecls()
|
D | GrVkResourceProvider.cpp | 168 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, mipLevels)); in findOrCreateCompatibleSampler() 171 fSamplers.add(sampler); in findOrCreateCompatibleSampler() 345 SkTDynamicHash<GrVkSampler, uint16_t>::Iter iter(&fSamplers); in destroyResources() 349 fSamplers.reset(); in destroyResources() 406 SkTDynamicHash<GrVkSampler, uint16_t>::Iter iter(&fSamplers); in abandonResources() 410 fSamplers.reset(); in abandonResources()
|
D | GrVkPipelineState.h | 216 SkTDArray<GrVkSampler*> fSamplers; variable
|
D | GrVkResourceProvider.h | 253 SkTDynamicHash<GrVkSampler, uint16_t> fSamplers; variable
|
/external/skia/tests/ |
D | ProcessorTest.cpp | 77 : INHERITED(kNone_OptimizationFlags), fSamplers(4), fBuffers(4), fImages(4) { in TestFP() 79 this->addTextureSampler(&fSamplers.emplace_back(context->resourceProvider(), proxy)); in TestFP() 91 : INHERITED(kNone_OptimizationFlags), fSamplers(4), fBuffers(4), fImages(4) { in TestFP() 111 GrTAllocator<TextureSampler> fSamplers; member in __anon75c8337b0111::TestFP
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 259 fUniformHandler.fSamplers, in createProgram()
|