Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
skgpu::graphite::MtlQueueManager Class Reference

#include <MtlQueueManager.h>

Inheritance diagram for skgpu::graphite::MtlQueueManager:
skgpu::graphite::QueueManager

Public Member Functions

 MtlQueueManager (sk_cfp< id< MTLCommandQueue > > queue, const SharedContext *)
 
 ~MtlQueueManager () 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 MtlQueueManager.h.

Constructor & Destructor Documentation

◆ MtlQueueManager()

skgpu::graphite::MtlQueueManager::MtlQueueManager ( sk_cfp< id< MTLCommandQueue > >  queue,
const SharedContext sharedContext 
)

Definition at line 17 of file MtlQueueManager.mm.

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

◆ ~MtlQueueManager()

skgpu::graphite::MtlQueueManager::~MtlQueueManager ( )
inlineoverride

Definition at line 23 of file MtlQueueManager.h.

23{}

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