Home
last modified time | relevance | path

Searched refs:GrVkSampler (Results 1 – 25 of 26) sorted by relevance

12

/external/skqp/src/gpu/vk/
DGrVkSampler.cpp29 GrVkSampler* GrVkSampler::Create(GrVkGpu* gpu, const GrSamplerState& samplerState, in Create()
112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create()
115 void GrVkSampler::freeGPUData(GrVkGpu* gpu) const { in freeGPUData()
123 void GrVkSampler::abandonGPUData() const { in abandonGPUData()
129 GrVkSampler::Key GrVkSampler::GenerateKey(const GrSamplerState& samplerState, in GenerateKey()
DGrVkSampler.h20 class GrVkSampler : public GrVkResource {
22 static GrVkSampler* Create(GrVkGpu* gpu, const GrSamplerState&, const GrVkYcbcrConversionInfo&);
47 static const Key& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } in GetKey()
61 GrVkSampler(VkSampler sampler, GrVkSamplerYcbcrConversion* ycbcrConversion, Key key) in GrVkSampler() function
DGrVkDescriptorSetManager.h55 const SkTArray<const GrVkSampler*>& immutableSamplers);
88 const SkTArray<const GrVkSampler*>& immutableSamplers);
94 SkSTArray<4, const GrVkSampler*> fImmutableSamplers;
DGrVkDescriptorSetManager.cpp27 SkTArray<const GrVkSampler*> samplers; in CreateUniformManager()
35 SkSTArray<4, const GrVkSampler*> immutableSamplers; in CreateSamplerManager()
46 SkSTArray<4, const GrVkSampler*> immutableSamplers; in CreateSamplerManager()
57 const SkTArray<const GrVkSampler*>& immutableSamplers) in GrVkDescriptorSetManager()
70 const GrVkSampler* sampler = immutableSamplers[i]; in GrVkDescriptorSetManager()
193 const SkTArray<const GrVkSampler*>& immutableSamplers) in DescriptorPoolManager()
DGrVkPipelineState.h27 class GrVkSampler; variable
71 void addUniformResources(GrVkCommandBuffer&, GrVkSampler*[], GrVkTexture*[], int numTextures);
138 SkSTArray<4, const GrVkSampler*> fImmutableSamplers;
DGrVkResourceProvider.cpp226 GrVkSampler* GrVkResourceProvider::findOrCreateCompatibleSampler( in findOrCreateCompatibleSampler()
228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler()
230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler()
411 SkTDynamicHash<GrVkSampler, GrVkSampler::Key>::Iter iter(&fSamplers); in destroyResources()
484 SkTDynamicHash<GrVkSampler, GrVkSampler::Key>::Iter iter(&fSamplers); in abandonResources()
DGrVkResourceProvider.h105 GrVkSampler* findOrCreateCompatibleSampler(const GrSamplerState&,
278 SkTDynamicHash<GrVkSampler, GrVkSampler::Key> fSamplers;
DGrVkUniformHandler.h44 const GrVkSampler* fImmutableSampler = nullptr;
89 const GrVkSampler* immutableSampler(UniformHandle u) const { in immutableSampler()
DGrVkPipelineState.cpp254 const GrVkSampler* sampler = nullptr; in setAndBindTextures()
DGrVkCopyManager.cpp263 GrVkSampler* sampler = resourceProv.findOrCreateCompatibleSampler( in copySurfaceAsDraw()
DGrVkGpu.cpp2387 const GrVkSampler* sampler = this->resourceProvider().findOrCreateCompatibleSampler( in getExtraSamplerKeyForProgram()
/external/skia/src/gpu/vk/
DGrVkSampler.cpp29 GrVkSampler* GrVkSampler::Create(GrVkGpu* gpu, const GrSamplerState& samplerState, in Create()
112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create()
115 void GrVkSampler::freeGPUData(GrVkGpu* gpu) const { in freeGPUData()
123 void GrVkSampler::abandonGPUData() const { in abandonGPUData()
129 GrVkSampler::Key GrVkSampler::GenerateKey(const GrSamplerState& samplerState, in GenerateKey()
DGrVkSampler.h20 class GrVkSampler : public GrVkResource {
22 static GrVkSampler* Create(GrVkGpu* gpu, const GrSamplerState&, const GrVkYcbcrConversionInfo&);
47 static const Key& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } in GetKey()
61 GrVkSampler(VkSampler sampler, GrVkSamplerYcbcrConversion* ycbcrConversion, Key key) in GrVkSampler() function
DGrVkDescriptorSetManager.h55 const SkTArray<const GrVkSampler*>& immutableSamplers);
88 const SkTArray<const GrVkSampler*>& immutableSamplers);
94 SkSTArray<4, const GrVkSampler*> fImmutableSamplers;
DGrVkDescriptorSetManager.cpp31 SkTArray<const GrVkSampler*> samplers; in CreateUniformManager()
39 SkSTArray<4, const GrVkSampler*> immutableSamplers; in CreateSamplerManager()
50 SkSTArray<4, const GrVkSampler*> immutableSamplers; in CreateSamplerManager()
61 const SkTArray<const GrVkSampler*>& immutableSamplers) in GrVkDescriptorSetManager()
74 const GrVkSampler* sampler = immutableSamplers[i]; in GrVkDescriptorSetManager()
197 const SkTArray<const GrVkSampler*>& immutableSamplers) in DescriptorPoolManager()
DGrVkPipelineState.h27 class GrVkSampler; variable
71 void addUniformResources(GrVkCommandBuffer&, GrVkSampler*[], GrVkTexture*[], int numTextures);
138 SkSTArray<4, const GrVkSampler*> fImmutableSamplers;
DGrVkResourceProvider.cpp226 GrVkSampler* GrVkResourceProvider::findOrCreateCompatibleSampler( in findOrCreateCompatibleSampler()
228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler()
230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler()
423 SkTDynamicHash<GrVkSampler, GrVkSampler::Key>::Iter iter(&fSamplers); in destroyResources()
496 SkTDynamicHash<GrVkSampler, GrVkSampler::Key>::Iter iter(&fSamplers); in abandonResources()
DGrVkResourceProvider.h112 GrVkSampler* findOrCreateCompatibleSampler(const GrSamplerState&,
285 SkTDynamicHash<GrVkSampler, GrVkSampler::Key> fSamplers;
DGrVkUniformHandler.h44 const GrVkSampler* fImmutableSampler = nullptr;
88 const GrVkSampler* immutableSampler(UniformHandle u) const { in immutableSampler()
DGrVkPipelineState.cpp254 const GrVkSampler* sampler = nullptr; in setAndBindTextures()
DGrVkCopyManager.cpp263 GrVkSampler* sampler = resourceProv.findOrCreateCompatibleSampler( in copySurfaceAsDraw()
DGrVkGpu.cpp2435 const GrVkSampler* sampler = this->resourceProvider().findOrCreateCompatibleSampler( in getExtraSamplerKeyForProgram()
/external/skqp/gn/
Dgpu.gni647 "$_src/gpu/vk/GrVkSampler.cpp",
648 "$_src/gpu/vk/GrVkSampler.h",
/external/skia/gn/
Dgpu.gni658 "$_src/gpu/vk/GrVkSampler.cpp",
659 "$_src/gpu/vk/GrVkSampler.h",
/external/skqp/
DAndroid.bp1051 "src/gpu/vk/GrVkSampler.cpp",

12