#include <context_mtl.h>
Public Member Functions | |
~ContextMTL () override | |
ContextMTL (const ContextMTL &)=delete | |
ContextMTL & | operator= (const ContextMTL &)=delete |
const std::shared_ptr< SwapchainTransientsMTL > & | GetSwapchainTransients () const |
![]() | |
~Context () override | |
Context (const Context &)=delete | |
Context & | operator= (const Context &)=delete |
bool | IsValid () const |
std::shared_ptr< impeller::Context > | GetContext () const |
AiksContext & | GetAiksContext () |
bool | IsBackend (impeller::Context::BackendType type) const |
bool | IsGL () const |
bool | IsMetal () const |
bool | IsVulkan () const |
![]() | |
ObjectBase ()=default | |
virtual | ~ObjectBase ()=default |
ObjectBase (const ObjectBase &)=delete | |
ObjectBase (ObjectBase &&)=delete | |
ObjectBase & | operator= (const ObjectBase &)=delete |
ObjectBase & | operator= (ObjectBase &&)=delete |
void | Retain () |
void | Release () |
uint64_t | GetRefCountForTests () const |
Static Public Member Functions | |
static ScopedObject< Context > | Create () |
static ScopedObject< Context > | Create (const std::shared_ptr< impeller::Context > &context) |
![]() | |
static void | SafeRetain (void *ptr) |
static void | SafeRelease (void *ptr) |
Additional Inherited Members | |
![]() | |
using | InteropClass = Context |
using | InteropCSibling = IMPELLER_INTERNAL_HANDLE_NAME(ImpellerContext) |
![]() | |
Context (std::shared_ptr< impeller::Context > context) | |
Definition at line 13 of file context_mtl.h.
|
overridedefault |
|
delete |
Referenced by Create().
|
static |
Definition at line 29 of file context_mtl.mm.
References impeller::ContextMTL::Create(), impeller::interop::CreateShaderLibraryMappings(), and VALIDATION_LOG.
Referenced by impeller::interop::testing::CreateSharedContext(), and impeller::interop::ImpellerContextCreateMetalNew().
|
static |
Definition at line 42 of file context_mtl.mm.
References ContextMTL(), and VALIDATION_LOG.
const std::shared_ptr< SwapchainTransientsMTL > & impeller::interop::ContextMTL::GetSwapchainTransients | ( | ) | const |
Definition at line 62 of file context_mtl.mm.
|
delete |