Monado OpenXR Runtime
|
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>
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_texture * | gui_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... | |
OpenGL functions to drive the gui.