| Flutter Impeller |

Public Member Functions | List of all members
impeller::PipelineLibraryVK Class Referencefinal

`#include <pipeline_library_vk.h>`

Inheritance diagram for impeller::PipelineLibraryVK:

## Public Member Functions
| ~PipelineLibraryVK () override
void | DidAcquireSurfaceFrame ()
const std::shared_ptr< PipelineCacheVK > & | GetPSOCache () const
const std::shared_ptr< fml::ConcurrentTaskRunner > & | GetWorkerTaskRunner () const
Public Member Functions inherited from impeller::PipelineLibrary
virtual | ~PipelineLibrary ()
PipelineFuture< PipelineDescriptor > | GetPipeline (std::optional< PipelineDescriptor > descriptor, bool async=true)
PipelineFuture< ComputePipelineDescriptor > | GetPipeline (std::optional< ComputePipelineDescriptor > descriptor, bool async=true)

## Additional Inherited Members
Static Public Member Functions inherited from impeller::BackendCast< PipelineLibraryVK, PipelineLibrary >
static PipelineLibraryVK & | Cast (PipelineLibrary &base)
static const PipelineLibraryVK & | Cast (const PipelineLibrary &base)
static PipelineLibraryVK * | Cast (PipelineLibrary *base)
static const PipelineLibraryVK * | Cast (const PipelineLibrary *base)
Protected Member Functions inherited from impeller::PipelineLibrary
| PipelineLibrary ()

## Detailed Description

Definition at line 24 of file pipeline_library_vk.h.

## Constructor & Destructor Documentation

## ◆ ~PipelineLibraryVK()

impeller::PipelineLibraryVK::~PipelineLibraryVK | ( |  | ) |
| override default

## Member Function Documentation

## ◆ DidAcquireSurfaceFrame()

void impeller::PipelineLibraryVK::DidAcquireSurfaceFrame | ( |  | ) |

Definition at line 279 of file pipeline_library_vk.cc.

279 {
280 if (++frames_acquired_ == 50u) {
281 if (cache_dirty_) {
282 cache_dirty_ = false;
283 PersistPipelineCacheToDisk();
284 }
285 frames_acquired_ = 0;
286 }
287 }

Referenced by impeller::SurfaceContextVK::MarkFrameEnd().

## ◆ GetPSOCache()

const std::shared_ptr< PipelineCacheVK > & impeller::PipelineLibraryVK::GetPSOCache | ( |  | ) | const

Definition at line 300 of file pipeline_library_vk.cc.

300 {
301 return pso_cache_;
302 }

Referenced by impeller::PipelineVK::Create().

## ◆ GetWorkerTaskRunner()

const std::shared_ptr< fml::ConcurrentTaskRunner > & impeller::PipelineLibraryVK::GetWorkerTaskRunner | ( |  | ) | const

Definition at line 305 of file pipeline_library_vk.cc.

305 {
306 return worker_task_runner_;
307 }

The documentation for this class was generated from the following files:

- impeller/renderer/backend/vulkan/pipeline_library_vk.h
- impeller/renderer/backend/vulkan/pipeline_library_vk.cc