Monado OpenXR Runtime
Data Structures | Functions
comp_renderer.c File Reference

Compositor rendering code. More...

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "util/u_misc.h"
#include "xrt/xrt_compositor.h"
#include "main/comp_distortion.h"
Include dependency graph for comp_renderer.c:

Data Structures

struct  comp_renderer
 Holds associated vulkan objects and state to render with a distortion. More...
 

Functions

struct comp_renderercomp_renderer_create (struct comp_compositor *c)
 Called by the main compositor code to create the renderer. More...
 
void comp_renderer_frame (struct comp_renderer *r, struct comp_swapchain_image *left, uint32_t left_layer, struct comp_swapchain_image *right, uint32_t right_layer)
 Render a distorted stereo frame. More...
 
void comp_renderer_destroy (struct comp_renderer *r)
 Clean up and free the renderer. More...
 

Detailed Description

Compositor rendering code.

Author
Lubosz Sarnecki lubos.nosp@m.z.sa.nosp@m.rneck.nosp@m.i@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m