#include <SharedContext.h>
Definition at line 32 of file SharedContext.h.
◆ ~SharedContext()
skgpu::graphite::SharedContext::~SharedContext |
( |
| ) |
|
|
override |
◆ SharedContext()
skgpu::graphite::SharedContext::SharedContext |
( |
std::unique_ptr< const Caps > |
caps, |
|
|
BackendApi |
backend |
|
) |
| |
|
protected |
Definition at line 20 of file SharedContext.cpp.
21 : fCaps(std::move(
caps))
23 , fGlobalCache()
24 , fShaderDictionary() {}
const Caps * caps() const
BackendApi backend() const
◆ backend()
BackendApi skgpu::graphite::SharedContext::backend |
( |
| ) |
const |
|
inline |
◆ caps()
const Caps * skgpu::graphite::SharedContext::caps |
( |
| ) |
const |
|
inline |
Gets the capabilities of the draw target.
Definition at line 39 of file SharedContext.h.
39{ return fCaps.get(); }
◆ globalCache() [1/2]
GlobalCache * skgpu::graphite::SharedContext::globalCache |
( |
| ) |
|
|
inline |
◆ globalCache() [2/2]
const GlobalCache * skgpu::graphite::SharedContext::globalCache |
( |
| ) |
const |
|
inline |
◆ isDeviceLost()
virtual bool skgpu::graphite::SharedContext::isDeviceLost |
( |
| ) |
const |
|
inlinevirtual |
◆ isProtected()
Protected skgpu::graphite::SharedContext::isProtected |
( |
| ) |
const |
◆ makeResourceProvider()
virtual std::unique_ptr< ResourceProvider > skgpu::graphite::SharedContext::makeResourceProvider |
( |
SingleOwner * |
, |
|
|
uint32_t |
recorderID, |
|
|
size_t |
resourceBudget |
|
) |
| |
|
pure virtual |
◆ rendererProvider()
const RendererProvider * skgpu::graphite::SharedContext::rendererProvider |
( |
| ) |
const |
|
inline |
◆ shaderCodeDictionary() [1/2]
◆ shaderCodeDictionary() [2/2]
◆ Context
The documentation for this class was generated from the following files: