#include <DawnQueueManager.h>
Definition at line 20 of file DawnQueueManager.h.
◆ DawnQueueManager()
skgpu::graphite::DawnQueueManager::DawnQueueManager |
( |
wgpu::Queue |
queue, |
|
|
const SharedContext * |
sharedContext |
|
) |
| |
◆ ~DawnQueueManager()
skgpu::graphite::DawnQueueManager::~DawnQueueManager |
( |
| ) |
|
|
inlineoverride |
◆ dawnQueue()
const wgpu::Queue & skgpu::graphite::DawnQueueManager::dawnQueue |
( |
| ) |
const |
|
inline |
◆ getNewCommandBuffer()
Implements skgpu::graphite::QueueManager.
Definition at line 125 of file DawnQueueManager.cpp.
126 {
128 static_cast<DawnResourceProvider*>(resourceProvider));
129}
static std::unique_ptr< DawnCommandBuffer > Make(const DawnSharedContext *, DawnResourceProvider *)
◆ onSubmitToGpu()
Implements skgpu::graphite::QueueManager.
Definition at line 131 of file DawnQueueManager.cpp.
131 {
134 auto wgpuCmdBuffer = dawnCmdBuffer->finishEncoding();
135 if (!wgpuCmdBuffer) {
137 return nullptr;
138 }
139
140 fQueue.Submit(1, &wgpuCmdBuffer);
141
142#if defined(__EMSCRIPTEN__)
143 return std::make_unique<DawnWorkSubmissionWithAsyncWait>(
145#else
147#endif
148}
std::unique_ptr< CommandBuffer > fCurrentCommandBuffer
◆ tick()
void skgpu::graphite::DawnQueueManager::tick |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: