#include <context_vk.h>
Classes | |
struct | Settings |
Public Member Functions | |
~ContextVK () override | |
ContextVK (const ContextVK &)=delete | |
ContextVK & | operator= (const ContextVK &)=delete |
bool | GetInfo (ImpellerContextVulkanInfo &info) 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 (const Settings &settings) |
static ScopedObject< Context > | Create (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 14 of file context_vk.h.
|
overridedefault |
|
static |
Definition at line 45 of file context_vk.cc.
References impeller::ContextVK::Settings::cache_directory, impeller::interop::ContextVKGetInstanceProcAddress(), impeller::ContextVK::Create(), impeller::interop::CreateShaderLibraryMappings(), impeller::ContextVK::Settings::enable_validation, impeller::ContextVK::Settings::flags, impeller::interop::ContextVK::Settings::instance_proc_address_callback, impeller::interop::ContextVK::Settings::IsValid(), impeller::ContextVK::Settings::proc_address_callback, impeller::interop::sContextVKProcAddressCallback, impeller::ContextVK::Settings::shader_libraries_data, and VALIDATION_LOG.
Referenced by impeller::interop::testing::CreateSharedContext(), and impeller::interop::ImpellerContextCreateVulkanNew().
|
static |
Definition at line 67 of file context_vk.cc.
References ContextVK(), and VALIDATION_LOG.
bool impeller::interop::ContextVK::GetInfo | ( | ImpellerContextVulkanInfo & | info | ) | const |
Definition at line 98 of file context_vk.cc.
References impeller::BackendCast< ContextVK, Context >::Cast(), impeller::interop::Context::GetContext(), ImpellerContextVulkanInfo::graphics_queue_family_index, ImpellerContextVulkanInfo::graphics_queue_index, impeller::interop::Context::IsValid(), ImpellerContextVulkanInfo::vk_instance, ImpellerContextVulkanInfo::vk_logical_device, and ImpellerContextVulkanInfo::vk_physical_device.