Home
last modified time | relevance | path

Searched refs:fSamplers (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLUniformHandler.cpp66 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 …]
DGrGLUniformHandler.h32 , fSamplers(kUniformsPerBlock) in GrGLUniformHandler()
47 return fSamplers[handle.toIndex()].fVariable; in samplerVariable()
76 UniformInfoArray fSamplers; variable
/external/skia/src/gpu/vk/
DGrVkUniformHandler.h48 , 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
DGrVkPipelineState.cpp54 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 …]
DGrVkUniformHandler.cpp204 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()
DGrVkResourceProvider.cpp168 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()
DGrVkPipelineState.h216 SkTDArray<GrVkSampler*> fSamplers; variable
DGrVkResourceProvider.h253 SkTDynamicHash<GrVkSampler, uint16_t> fSamplers; variable
/external/skia/tests/
DProcessorTest.cpp77 : 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/
DGrGLProgramBuilder.cpp259 fUniformHandler.fSamplers, in createProgram()