The open source OpenXR runtime
at main 36 lines 566 B view raw
1// Copyright 2019-2024, Collabora, Ltd. 2// SPDX-License-Identifier: BSL-1.0 3/*! 4 * @file 5 * @brief Header for null compositor interfaces. 6 * 7 * @author Jakob Bornecrantz <jakob@collabora.com> 8 * @ingroup comp_null 9 */ 10 11 12#pragma once 13 14#include "xrt/xrt_results.h" 15 16 17#ifdef __cplusplus 18extern "C" { 19#endif 20 21 22struct xrt_device; 23struct xrt_system_compositor; 24 25/*! 26 * Creates a @ref null_compositor. 27 * 28 * @ingroup comp_null 29 */ 30xrt_result_t 31null_compositor_create_system(struct xrt_device *xdev, struct xrt_system_compositor **out_xsysc); 32 33 34#ifdef __cplusplus 35} 36#endif