| 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 273 of file pipeline_library_vk.cc.

273 {
274 if (++frames_acquired_ == 50u) {
275 if (cache_dirty_) {
276 cache_dirty_ = false;
277 PersistPipelineCacheToDisk();
278 }
279 frames_acquired_ = 0;
280 }
281 }

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

## ◆ GetPSOCache()

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

Definition at line 294 of file pipeline_library_vk.cc.

294 {
295 return pso_cache_;
296 }

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

## ◆ GetWorkerTaskRunner()

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

Definition at line 299 of file pipeline_library_vk.cc.

299 {
300 return worker_task_runner_;
301 }

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