Lines Matching refs:fGpu

27     : fGpu(gpu)  in GrVkResourceProvider()
47 auto persistentCache = fGpu->getContext()->contextPriv().getPersistentCache(); in pipelineCache()
62 const VkPhysicalDeviceProperties& devProps = fGpu->physicalDeviceProperties(); in pipelineCache()
76 VkResult result = GR_VK_CALL(fGpu->vkInterface(), in pipelineCache()
77 CreatePipelineCache(fGpu->device(), &createInfo, nullptr, in pipelineCache()
89 GrVkDescriptorSetManager* dsm = GrVkDescriptorSetManager::CreateUniformManager(fGpu); in init()
104 return GrVkPipeline::Create(fGpu, numColorSamples, primProc, pipeline, stencil, shaderStageInfo, in createPipeline()
121 pipeline = GrVkCopyPipeline::Create(fGpu, shaderStageInfo, in findOrCreateCopyPipeline()
154 fRenderPassArray.emplace_back(fGpu, target).getCompatibleRenderPass(); in findCompatibleRenderPass()
214 const GrVkRenderPass* renderPass = compatibleSet.getRenderPass(fGpu, in findRenderPass()
223 return new GrVkDescriptorPool(fGpu, type, count); in findOrCreateCompatibleDescriptorPool()
230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler()
246 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
279 GrVkDescriptorSetManager* dsm = GrVkDescriptorSetManager::CreateSamplerManager(fGpu, type, in getSamplerDescriptorSetHandle()
298 GrVkDescriptorSetManager* dsm = GrVkDescriptorSetManager::CreateSamplerManager(fGpu, type, in getSamplerDescriptorSetHandle()
317 return fDescriptorSetManagers[fUniformDSHandle.toIndex()]->getDescriptorSet(fGpu, in getUniformDescriptorSet()
324 return fDescriptorSetManagers[handle.toIndex()]->getDescriptorSet(fGpu, handle); in getSamplerDescriptorSet()
343 result = GrVkCommandPool::Create(fGpu); in findOrCreateCommandPool()
364 if (buffer->finished(fGpu)) { in checkCommandBuffers()
379 resource = GrVkUniformBuffer::CreateResource(fGpu, GrVkUniformBuffer::kStandardSize); in findOrCreateStandardUniformBufferResource()
389 SkTaskGroup* taskGroup = fGpu->getContext()->contextPriv().getTaskGroup(); in destroyResources()
396 fCopyPipelines[i]->unref(fGpu); in destroyResources()
401 fRenderPassArray[i].releaseResources(fGpu); in destroyResources()
406 fExternalRenderPasses[i]->unref(fGpu); in destroyResources()
413 (*iter).unref(fGpu); in destroyResources()
419 GR_VK_CALL(fGpu->vkInterface(), DestroyPipelineCache(fGpu->device(), fPipelineCache, nullptr)); in destroyResources()
424 pool->unref(fGpu); in destroyResources()
430 pool->unref(fGpu); in destroyResources()
437 fDescriptorSetManagers[i]->release(fGpu); in destroyResources()
444 fAvailableUniformBufferResources[i]->unref(fGpu); in destroyResources()
450 SkTaskGroup* taskGroup = fGpu->getContext()->contextPriv().getTaskGroup(); in abandonResources()
511 pool->releaseResources(fGpu); in backgroundReset()
512 SkTaskGroup* taskGroup = fGpu->getContext()->contextPriv().getTaskGroup(); in backgroundReset()
524 pool->reset(fGpu); in reset()
531 VkResult result = GR_VK_CALL(fGpu->vkInterface(), GetPipelineCacheData(fGpu->device(), in storePipelineCacheData()
538 result = GR_VK_CALL(fGpu->vkInterface(), GetPipelineCacheData(fGpu->device(), in storePipelineCacheData()
547 fGpu->getContext()->contextPriv().getPersistentCache()->store( in storePipelineCacheData()