Flutter Engine
The Flutter Engine
|
#include <GrVkResourceProvider.h>
Public Types | |
using | SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags |
using | LoadFromResolve = GrVkRenderPass::LoadFromResolve |
Definition at line 40 of file GrVkResourceProvider.h.
Definition at line 66 of file GrVkResourceProvider.h.
Definition at line 65 of file GrVkResourceProvider.h.
GrVkResourceProvider::GrVkResourceProvider | ( | GrVkGpu * | gpu | ) |
Definition at line 23 of file GrVkResourceProvider.cpp.
GrVkResourceProvider::~GrVkResourceProvider | ( | ) |
Definition at line 29 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::addFinishedProcToActiveCommandBuffers | ( | sk_sp< skgpu::RefCntedCallback > | finishedCallback | ) |
Definition at line 471 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::checkCommandBuffers | ( | ) |
Definition at line 428 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::destroyResources | ( | ) |
Definition at line 480 of file GrVkResourceProvider.cpp.
const GrVkRenderPass * GrVkResourceProvider::findCompatibleExternalRenderPass | ( | VkRenderPass | renderPass, |
uint32_t | colorAttachmentIndex | ||
) |
Definition at line 161 of file GrVkResourceProvider.cpp.
const GrVkRenderPass * GrVkResourceProvider::findCompatibleRenderPass | ( | GrVkRenderPass::AttachmentsDescriptor * | desc, |
GrVkRenderPass::AttachmentFlags | attachmentFlags, | ||
SelfDependencyFlags | selfDepFlags, | ||
LoadFromResolve | loadFromResolve, | ||
CompatibleRPHandle * | compatibleHandle = nullptr |
||
) |
Definition at line 131 of file GrVkResourceProvider.cpp.
const GrVkRenderPass * GrVkResourceProvider::findCompatibleRenderPass | ( | GrVkRenderTarget * | target, |
CompatibleRPHandle * | compatibleHandle, | ||
bool | withResolve, | ||
bool | withStencil, | ||
SelfDependencyFlags | selfDepFlags, | ||
LoadFromResolve | loadFromResolve | ||
) |
Definition at line 111 of file GrVkResourceProvider.cpp.
GrVkCommandPool * GrVkResourceProvider::findOrCreateCommandPool | ( | ) |
Definition at line 403 of file GrVkResourceProvider.cpp.
GrVkDescriptorPool * GrVkResourceProvider::findOrCreateCompatibleDescriptorPool | ( | VkDescriptorType | type, |
uint32_t | count | ||
) |
Definition at line 222 of file GrVkResourceProvider.cpp.
GrVkPipelineState * GrVkResourceProvider::findOrCreateCompatiblePipelineState | ( | const GrProgramDesc & | desc, |
const GrProgramInfo & | programInfo, | ||
VkRenderPass | compatibleRenderPass, | ||
GrThreadSafePipelineBuilder::Stats::ProgramCacheResult * | stat | ||
) |
Definition at line 268 of file GrVkResourceProvider.cpp.
GrVkPipelineState * GrVkResourceProvider::findOrCreateCompatiblePipelineState | ( | GrRenderTarget * | renderTarget, |
const GrProgramInfo & | programInfo, | ||
VkRenderPass | compatibleRenderPass, | ||
bool | overrideSubpassForResolveLoad | ||
) |
Definition at line 258 of file GrVkResourceProvider.cpp.
GrVkSampler * GrVkResourceProvider::findOrCreateCompatibleSampler | ( | GrSamplerState | params, |
const skgpu::VulkanYcbcrConversionInfo & | ycbcrInfo | ||
) |
Definition at line 227 of file GrVkResourceProvider.cpp.
GrVkSamplerYcbcrConversion * GrVkResourceProvider::findOrCreateCompatibleSamplerYcbcrConversion | ( | const skgpu::VulkanYcbcrConversionInfo & | ycbcrInfo | ) |
Definition at line 242 of file GrVkResourceProvider.cpp.
sk_sp< const GrVkPipeline > GrVkResourceProvider::findOrCreateMSAALoadPipeline | ( | const GrVkRenderPass & | renderPass, |
int | numSamples, | ||
VkPipelineShaderStageCreateInfo * | shaderStageInfo, | ||
VkPipelineLayout | pipelineLayout | ||
) |
Definition at line 285 of file GrVkResourceProvider.cpp.
const GrVkRenderPass * GrVkResourceProvider::findRenderPass | ( | const CompatibleRPHandle & | compatibleHandle, |
const GrVkRenderPass::LoadStoreOps & | colorOps, | ||
const GrVkRenderPass::LoadStoreOps & | resolveOps, | ||
const GrVkRenderPass::LoadStoreOps & | stencilOps | ||
) |
Definition at line 205 of file GrVkResourceProvider.cpp.
const GrVkRenderPass * GrVkResourceProvider::findRenderPass | ( | GrVkRenderTarget * | target, |
const GrVkRenderPass::LoadStoreOps & | colorOps, | ||
const GrVkRenderPass::LoadStoreOps & | resolveOps, | ||
const GrVkRenderPass::LoadStoreOps & | stencilOps, | ||
CompatibleRPHandle * | compatibleHandle, | ||
bool | withResolve, | ||
bool | withStencil, | ||
SelfDependencyFlags | selfDepFlags, | ||
LoadFromResolve | loadFromResolve | ||
) |
Definition at line 182 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::forceSyncAllCommandBuffers | ( | ) |
Definition at line 461 of file GrVkResourceProvider.cpp.
const GrVkDescriptorSet * GrVkResourceProvider::getInputDescriptorSet | ( | ) |
Definition at line 383 of file GrVkResourceProvider.cpp.
VkDescriptorSetLayout GrVkResourceProvider::getInputDSLayout | ( | ) | const |
Definition at line 366 of file GrVkResourceProvider.cpp.
const GrVkDescriptorSet * GrVkResourceProvider::getSamplerDescriptorSet | ( | const GrVkDescriptorSetManager::Handle & | handle | ) |
Definition at line 388 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::getSamplerDescriptorSetHandle | ( | VkDescriptorType | type, |
const GrVkUniformHandler & | uniformHandler, | ||
GrVkDescriptorSetManager::Handle * | handle | ||
) |
Definition at line 342 of file GrVkResourceProvider.cpp.
VkDescriptorSetLayout GrVkResourceProvider::getSamplerDSLayout | ( | const GrVkDescriptorSetManager::Handle & | handle | ) | const |
Definition at line 371 of file GrVkResourceProvider.cpp.
const GrVkDescriptorSet * GrVkResourceProvider::getUniformDescriptorSet | ( | ) |
Definition at line 377 of file GrVkResourceProvider.cpp.
VkDescriptorSetLayout GrVkResourceProvider::getUniformDSLayout | ( | ) | const |
Definition at line 361 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::getZeroSamplerDescriptorSetHandle | ( | GrVkDescriptorSetManager::Handle * | handle | ) |
Definition at line 326 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::init | ( | ) |
Definition at line 84 of file GrVkResourceProvider.cpp.
sk_sp< const GrVkPipeline > GrVkResourceProvider::makePipeline | ( | const GrProgramInfo & | programInfo, |
VkPipelineShaderStageCreateInfo * | shaderStageInfo, | ||
int | shaderStageCount, | ||
VkRenderPass | compatibleRenderPass, | ||
VkPipelineLayout | layout, | ||
uint32_t | subpass | ||
) |
Definition at line 96 of file GrVkResourceProvider.cpp.
|
inline |
Definition at line 45 of file GrVkResourceProvider.h.
void GrVkResourceProvider::recycleDescriptorSet | ( | const GrVkDescriptorSet * | descSet, |
const GrVkDescriptorSetManager::Handle & | handle | ||
) |
|
inline |
Definition at line 49 of file GrVkResourceProvider.h.
void GrVkResourceProvider::releaseUnlockedBackendObjects | ( | ) |
Definition at line 534 of file GrVkResourceProvider.cpp.
void GrVkResourceProvider::storePipelineCacheData | ( | ) |
Definition at line 542 of file GrVkResourceProvider.cpp.