Monado OpenXR Runtime
Data Structures | Macros | Typedefs | Enumerations
xrt_compositor.h File Reference

Header defining a XRT graphics provider. More...

#include "xrt/xrt_defines.h"
Include dependency graph for xrt_compositor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xrt_swapchain
 Common swapchain base. More...
 
struct  xrt_compositor
 Common compositor base. More...
 
struct  xrt_swapchain_gl
 
struct  xrt_compositor_gl
 
struct  xrt_swapchain_vk
 Base class for a Vulkan client swapchain. More...
 
struct  xrt_compositor_vk
 Base class for a Vulkan client compositor. More...
 
struct  xrt_image_fd
 A single image of a fd based swapchain. More...
 
struct  xrt_swapchain_fd
 A swapchain that exposes fd to be imported into a client API. More...
 
struct  xrt_compositor_fd
 Main compositor. More...
 

Macros

#define XRT_MAX_SWAPCHAIN_IMAGES   8
 Max swapchain images, artificial limit. More...
 
#define XRT_MAX_SWAPCHAIN_FORMATS   8
 Max formats supported by a compositor, artificial limit. More...
 

Typedefs

typedef uint64_t VkImage
 
typedef uint64_t VkDeviceMemory
 

Enumerations

enum  xrt_swapchain_create_flags { XRT_SWAPCHAIN_CREATE_STATIC_IMAGE = (1 << 0) }
 Special flags for creating swapchain images. More...
 
enum  xrt_swapchain_usage_bits {
  XRT_SWAPCHAIN_USAGE_COLOR = 0x00000001, XRT_SWAPCHAIN_USAGE_DEPTH_STENCIL = 0x00000002, XRT_SWAPCHAIN_USAGE_UNORDERED_ACCESS = 0x00000004, XRT_SWAPCHAIN_USAGE_TRANSFER_SRC = 0x00000008,
  XRT_SWAPCHAIN_USAGE_TRANSFER_DST = 0x00000010, XRT_SWAPCHAIN_USAGE_SAMPLED = 0x00000020, XRT_SWAPCHAIN_USAGE_MUTABLE_FORMAT = 0x00000040
}
 Usage of the swapchain images. More...
 
enum  xrt_view_type { XRT_VIEW_TYPE_MONO = 1, XRT_VIEW_TYPE_STEREO = 2 }
 View type to be rendered to by the compositor. More...
 

Detailed Description

Header defining a XRT graphics provider.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m