Monado OpenXR Runtime
|
A factory of targets. More...
#include <main/comp_target.h>
Static Public Member Functions | |
static bool | comp_target_factory_detect (const struct comp_target_factory *ctf, struct comp_compositor *c) |
Checks if this target can be detected, is the preferred target or some other special consideration that this target should be used over all other targets. More... | |
static bool | comp_target_factory_create_target (const struct comp_target_factory *ctf, struct comp_compositor *c, struct comp_target **out_ct) |
Create a target from this factory, some targets requires Vulkan to have been initialised, see requires_vulkan_for_create. More... | |
Data Fields | |
const char * | name |
Pretty loggable name of target type. More... | |
const char * | identifier |
Short all lowercase identifier for target type. More... | |
bool | requires_vulkan_for_create |
Does this factory require Vulkan to have been initialized. More... | |
bool | is_deferred |
Is this a deferred target that can have it's creation delayed even further then after Vulkan initialization. More... | |
uint32_t | required_instance_version |
Vulkan version that is required or 0 if no specific requirement, equivalent to VK_MAKE_VERSION(1, 0, 0) More... | |
const char ** | required_instance_extensions |
Required instance extensions. More... | |
size_t | required_instance_extension_count |
Required instance extension count. More... | |
const char ** | optional_device_extensions |
Optional device extensions. More... | |
size_t | optional_device_extension_count |
Optional device extension count. More... | |
bool(* | detect )(const struct comp_target_factory *ctf, struct comp_compositor *c) |
Checks if this target can be detected, is the preferred target or some other special consideration that this target should be used over all other targets. More... | |
bool(* | create_target )(const struct comp_target_factory *ctf, struct comp_compositor *c, struct comp_target **out_ct) |
Create a target from this factory, some targets requires Vulkan to have been initialised, see requires_vulkan_for_create. More... | |
A factory of targets.
bool(* comp_target_factory::create_target) (const struct comp_target_factory *ctf, struct comp_compositor *c, struct comp_target **out_ct) |
Create a target from this factory, some targets requires Vulkan to have been initialised, see requires_vulkan_for_create.
bool(* comp_target_factory::detect) (const struct comp_target_factory *ctf, struct comp_compositor *c) |
Checks if this target can be detected, is the preferred target or some other special consideration that this target should be used over all other targets.
This is needed for NVIDIA direct mode which window must be created after vulkan has initialized.
const char* comp_target_factory::identifier |
Short all lowercase identifier for target type.
bool comp_target_factory::is_deferred |
Is this a deferred target that can have it's creation delayed even further then after Vulkan initialization.
const char* comp_target_factory::name |
Pretty loggable name of target type.
Referenced by ipcproto.common.Arg::__init__(), ipcproto.common.Call::__init__(), bindings.Profile::__init__(), ipcproto.common.Arg::dump(), ipcproto.common.Call::dump(), ipcproto.common.Arg::get_func_argument_in(), ipcproto.common.Arg::get_func_argument_out(), ipcproto.common.Arg::get_struct_field(), ipcproto.common.Call::write_call_decl(), ipcproto.common.Call::write_handler_decl(), ipcproto.common.Call::write_receive_decl(), and ipcproto.common.Call::write_send_decl().
size_t comp_target_factory::optional_device_extension_count |
Optional device extension count.
const char** comp_target_factory::optional_device_extensions |
Optional device extensions.
size_t comp_target_factory::required_instance_extension_count |
Required instance extension count.
const char** comp_target_factory::required_instance_extensions |
Required instance extensions.
uint32_t comp_target_factory::required_instance_version |
Vulkan version that is required or 0 if no specific requirement, equivalent to VK_MAKE_VERSION(1, 0, 0)
bool comp_target_factory::requires_vulkan_for_create |
Does this factory require Vulkan to have been initialized.