monado/src/xrt/compositor/null/null_interfaces.h
Jakob Bornecrantz c976c54008 c/null: Add null compositor
Based on sample compositor code.

Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2022-05-28 17:30:19 +00:00

37 lines
567 B
C

// Copyright 2019-2022, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Header for null compositor interfaces.
*
* @author Jakob Bornecrantz <jakob@collabora.com>
* @ingroup comp_null
*/
#pragma once
#include "xrt/xrt_compiler.h"
#ifdef __cplusplus
extern "C" {
#endif
struct xrt_device;
struct xrt_system_compositor;
/*!
* Creates a @ref null_compositor.
*
* @ingroup comp_null
*/
xrt_result_t
null_compositor_create_system(struct xrt_device *xdev, struct xrt_system_compositor **out_xsysc);
#ifdef __cplusplus
}
#endif