Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkSampler.h19 class GrVkSampler : public GrVkResource {
21 static GrVkSampler* Create(const GrVkGpu* gpu, const GrSamplerState&, uint32_t maxMipLevel);
28 static const uint16_t& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } in GetKey()
38 GrVkSampler(VkSampler sampler, uint16_t key) : INHERITED(), fSampler(sampler), fKey(key) {} in GrVkSampler() function
DGrVkSampler.cpp26 GrVkSampler* GrVkSampler::Create(const GrVkGpu* gpu, const GrSamplerState& samplerState, in Create()
72 return new GrVkSampler(sampler, GenerateKey(samplerState, maxMipLevel)); in Create()
75 void GrVkSampler::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
80 uint16_t GrVkSampler::GenerateKey(const GrSamplerState& samplerState, uint32_t maxMipLevel) { in GenerateKey()
DGrVkResourceProvider.h33 class GrVkSampler; variable
101 GrVkSampler* findOrCreateCompatibleSampler(const GrSamplerState&, uint32_t maxMipLevel);
254 SkTDynamicHash<GrVkSampler, uint16_t> fSamplers;
DGrVkResourceProvider.cpp171 GrVkSampler* GrVkResourceProvider::findOrCreateCompatibleSampler(const GrSamplerState& params, in findOrCreateCompatibleSampler()
173 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, maxMipLevel)); in findOrCreateCompatibleSampler()
175 sampler = GrVkSampler::Create(fGpu, params, maxMipLevel); in findOrCreateCompatibleSampler()
356 SkTDynamicHash<GrVkSampler, uint16_t>::Iter iter(&fSamplers); in destroyResources()
417 SkTDynamicHash<GrVkSampler, uint16_t>::Iter iter(&fSamplers); in abandonResources()
DGrVkPipelineState.h29 class GrVkSampler; variable
182 SkTDArray<GrVkSampler*> fSamplers;
DGrVkCopyManager.cpp262 GrVkSampler* sampler = resourceProv.findOrCreateCompatibleSampler( in copySurfaceAsDraw()
/external/skqp/src/gpu/vk/
DGrVkSampler.h19 class GrVkSampler : public GrVkResource {
21 static GrVkSampler* Create(const GrVkGpu* gpu, const GrSamplerState&, uint32_t maxMipLevel);
28 static const uint16_t& GetKey(const GrVkSampler& sampler) { return sampler.fKey; } in GetKey()
38 GrVkSampler(VkSampler sampler, uint16_t key) : INHERITED(), fSampler(sampler), fKey(key) {} in GrVkSampler() function
DGrVkSampler.cpp26 GrVkSampler* GrVkSampler::Create(const GrVkGpu* gpu, const GrSamplerState& samplerState, in Create()
72 return new GrVkSampler(sampler, GenerateKey(samplerState, maxMipLevel)); in Create()
75 void GrVkSampler::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData()
80 uint16_t GrVkSampler::GenerateKey(const GrSamplerState& samplerState, uint32_t maxMipLevel) { in GenerateKey()
DGrVkResourceProvider.h33 class GrVkSampler; variable
101 GrVkSampler* findOrCreateCompatibleSampler(const GrSamplerState&, uint32_t maxMipLevel);
254 SkTDynamicHash<GrVkSampler, uint16_t> fSamplers;
DGrVkResourceProvider.cpp171 GrVkSampler* GrVkResourceProvider::findOrCreateCompatibleSampler(const GrSamplerState& params, in findOrCreateCompatibleSampler()
173 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, maxMipLevel)); in findOrCreateCompatibleSampler()
175 sampler = GrVkSampler::Create(fGpu, params, maxMipLevel); in findOrCreateCompatibleSampler()
356 SkTDynamicHash<GrVkSampler, uint16_t>::Iter iter(&fSamplers); in destroyResources()
417 SkTDynamicHash<GrVkSampler, uint16_t>::Iter iter(&fSamplers); in abandonResources()
DGrVkPipelineState.h29 class GrVkSampler; variable
182 SkTDArray<GrVkSampler*> fSamplers;
DGrVkCopyManager.cpp259 GrVkSampler* sampler = resourceProv.findOrCreateCompatibleSampler( in copySurfaceAsDraw()
/external/skqp/gn/
Dgpu.gni584 "$_src/gpu/vk/GrVkSampler.cpp",
585 "$_src/gpu/vk/GrVkSampler.h",
/external/skia/gn/
Dgpu.gni578 "$_src/gpu/vk/GrVkSampler.cpp",
579 "$_src/gpu/vk/GrVkSampler.h",
/external/skqp/
DAndroid.bp1003 "src/gpu/vk/GrVkSampler.cpp",
/external/skia/
DAndroid.bp648 "src/gpu/vk/GrVkSampler.cpp",