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

OpenGL functions to drive the gui. More...

#include "xrt/xrt_frame.h"
#include "util/u_misc.h"
#include "ogl/ogl_api.h"
#include "gui_common.h"
#include <pthread.h>
Include dependency graph for gui_ogl.c:

Data Structures

struct  gui_ogl_sink
 

Functions

void gui_ogl_sink_update (struct gui_ogl_texture *tex)
 Update the texture to the latest received frame. More...
 
struct gui_ogl_texturegui_ogl_sink_create (const char *name, struct xrt_frame_context *xfctx, struct xrt_frame_sink **out_sink)
 Create a sink that will turn frames into OpenGL textures, since the frame can come from another thread gui_ogl_sink_update needs to be called. More...
 

Detailed Description

OpenGL functions to drive the gui.

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