Null compositor implementation.
More...
|
static struct vk_bundle * | get_vk (struct null_compositor *c) |
|
static VkResult | select_instances_extensions (struct null_compositor *c, struct u_string_list *required, struct u_string_list *optional) |
|
static bool | compositor_init_vulkan (struct null_compositor *c) |
|
static bool | compositor_init_pacing (struct null_compositor *c) |
|
static bool | compositor_init_info (struct null_compositor *c) |
|
static bool | compositor_init_sys_info (struct null_compositor *c, struct xrt_device *xdev) |
|
static xrt_result_t | null_compositor_begin_session (struct xrt_compositor *xc, const struct xrt_begin_session_info *type) |
|
static xrt_result_t | null_compositor_end_session (struct xrt_compositor *xc) |
|
static xrt_result_t | null_compositor_predict_frame (struct xrt_compositor *xc, int64_t *out_frame_id, int64_t *out_wake_time_ns, int64_t *out_predicted_gpu_time_ns, int64_t *out_predicted_display_time_ns, int64_t *out_predicted_display_period_ns) |
|
static xrt_result_t | null_compositor_mark_frame (struct xrt_compositor *xc, int64_t frame_id, enum xrt_compositor_frame_point point, int64_t when_ns) |
|
static xrt_result_t | null_compositor_begin_frame (struct xrt_compositor *xc, int64_t frame_id) |
|
static xrt_result_t | null_compositor_discard_frame (struct xrt_compositor *xc, int64_t frame_id) |
|
static xrt_result_t | null_compositor_layer_commit (struct xrt_compositor *xc, xrt_graphics_sync_handle_t sync_handle) |
|
static void | null_compositor_destroy (struct xrt_compositor *xc) |
|
xrt_result_t | null_compositor_create_system (struct xrt_device *xdev, struct xrt_system_compositor **out_xsysc) |
| Creates a null_compositor. More...
|
|
|
static const uint64_t | RECOMMENDED_VIEW_WIDTH = 320 |
|
static const uint64_t | RECOMMENDED_VIEW_HEIGHT = 240 |
|
static const uint64_t | MAX_VIEW_WIDTH = 1920 |
|
static const uint64_t | MAX_VIEW_HEIGHT = 1080 |
|
static const char * | instance_extensions_common [] |
|
static const char * | required_device_extensions [] |
|
static const char * | optional_device_extensions [] |
|
◆ instance_extensions_common
const char* instance_extensions_common[] |
|
static |
Initial value:= {
VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME,
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME,
VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME,
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME,
}