#include <DawnSharedContext.h>
Definition at line 22 of file DawnSharedContext.h.
◆ ~DawnSharedContext()
skgpu::graphite::DawnSharedContext::~DawnSharedContext |
( |
| ) |
|
|
override |
◆ dawnCaps()
const DawnCaps * skgpu::graphite::DawnSharedContext::dawnCaps |
( |
| ) |
const |
|
inline |
Definition at line 31 of file DawnSharedContext.h.
31{
return static_cast<const DawnCaps*
>(this->
caps()); }
const Caps * caps() const
◆ device()
const wgpu::Device & skgpu::graphite::DawnSharedContext::device |
( |
| ) |
const |
|
inline |
◆ hasTick()
bool skgpu::graphite::DawnSharedContext::hasTick |
( |
| ) |
const |
|
inline |
◆ Make()
Definition at line 32 of file DawnSharedContext.cpp.
33 {
34 if (!backendContext.fDevice || !backendContext.fQueue) {
35 return {};
36 }
37
38 auto noopFragment = CreateNoopFragment(backendContext.fDevice);
40 return {};
41 }
42
43 auto caps = std::make_unique<const DawnCaps>(backendContext,
options);
44
48}
const wgpu::ShaderModule & noopFragment() const
◆ makeResourceProvider()
std::unique_ptr< ResourceProvider > skgpu::graphite::DawnSharedContext::makeResourceProvider |
( |
SingleOwner * |
singleOwner, |
|
|
uint32_t |
recorderID, |
|
|
size_t |
resourceBudget |
|
) |
| |
|
overridevirtual |
◆ noopFragment()
const wgpu::ShaderModule & skgpu::graphite::DawnSharedContext::noopFragment |
( |
| ) |
const |
|
inline |
◆ queue()
const wgpu::Queue & skgpu::graphite::DawnSharedContext::queue |
( |
| ) |
const |
|
inline |
◆ tick()
void skgpu::graphite::DawnSharedContext::tick |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: