Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrVkResourceProvider::PipelineStateCache::Entry Struct Reference

Public Member Functions

 Entry (GrVkGpu *gpu, GrVkPipelineState *pipelineState)
 
 ~Entry ()
 

Public Attributes

GrVkGpufGpu
 
std::unique_ptr< GrVkPipelineStatefPipelineState
 

Detailed Description

Definition at line 27 of file GrVkPipelineStateCache.cpp.

Constructor & Destructor Documentation

◆ Entry()

GrVkResourceProvider::PipelineStateCache::Entry::Entry ( GrVkGpu gpu,
GrVkPipelineState pipelineState 
)
inline

Definition at line 28 of file GrVkPipelineStateCache.cpp.

◆ ~Entry()

GrVkResourceProvider::PipelineStateCache::Entry::~Entry ( )
inline

Definition at line 32 of file GrVkPipelineStateCache.cpp.

32 {
33 if (fPipelineState) {
34 fPipelineState->freeGPUResources(fGpu);
35 }
36 }

Member Data Documentation

◆ fGpu

GrVkGpu* GrVkResourceProvider::PipelineStateCache::Entry::fGpu

Definition at line 38 of file GrVkPipelineStateCache.cpp.

◆ fPipelineState

std::unique_ptr<GrVkPipelineState> GrVkResourceProvider::PipelineStateCache::Entry::fPipelineState

Definition at line 39 of file GrVkPipelineStateCache.cpp.


The documentation for this struct was generated from the following file: