Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::DawnQueueManager Class Reference

#include <DawnQueueManager.h>

Inheritance diagram for skgpu::graphite::DawnQueueManager:
skgpu::graphite::QueueManager

Public Member Functions

 DawnQueueManager (wgpu::Queue, const SharedContext *)
 
 ~DawnQueueManager () override
 
const wgpu::Queue & dawnQueue () const
 
void tick () const override
 
- Public Member Functions inherited from skgpu::graphite::QueueManager
virtual ~QueueManager ()
 
bool addRecording (const InsertRecordingInfo &, Context *)
 
bool addTask (Task *, Context *)
 
bool addFinishInfo (const InsertFinishInfo &, ResourceProvider *, SkSpan< const sk_sp< Buffer > > buffersToAsyncMap={})
 
bool submitToGpu ()
 
bool hasUnfinishedGpuWork ()
 
void checkForFinishedWork (SyncToCpu)
 
void returnCommandBuffer (std::unique_ptr< CommandBuffer >)
 
virtual void tick () const
 
void addUploadBufferManagerRefs (UploadBufferManager *)
 

Additional Inherited Members

- Protected Types inherited from skgpu::graphite::QueueManager
using OutstandingSubmission = std::unique_ptr< GpuWorkSubmission >
 
- Protected Member Functions inherited from skgpu::graphite::QueueManager
 QueueManager (const SharedContext *sharedContext)
 
- Protected Attributes inherited from skgpu::graphite::QueueManager
const SharedContextfSharedContext
 
std::unique_ptr< CommandBufferfCurrentCommandBuffer
 

Detailed Description

Definition at line 20 of file DawnQueueManager.h.

Constructor & Destructor Documentation

◆ DawnQueueManager()

skgpu::graphite::DawnQueueManager::DawnQueueManager ( wgpu::Queue  queue,
const SharedContext sharedContext 
)

Definition at line 113 of file DawnQueueManager.cpp.

114 : QueueManager(sharedContext), fQueue(std::move(queue)) {}
QueueManager(const SharedContext *sharedContext)
VkQueue queue
Definition: main.cc:55

◆ ~DawnQueueManager()

skgpu::graphite::DawnQueueManager::~DawnQueueManager ( )
inlineoverride

Definition at line 23 of file DawnQueueManager.h.

23{}

Member Function Documentation

◆ dawnQueue()

const wgpu::Queue & skgpu::graphite::DawnQueueManager::dawnQueue ( ) const
inline

Definition at line 25 of file DawnQueueManager.h.

25{ return fQueue; }

◆ tick()

void skgpu::graphite::DawnQueueManager::tick ( ) const
overridevirtual

Reimplemented from skgpu::graphite::QueueManager.

Definition at line 116 of file DawnQueueManager.cpp.

116{ this->dawnSharedContext()->tick(); }

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