Monado OpenXR Runtime
|
Xlib client side glue to compositor implementation. More...
#include <stdio.h>
#include <stdlib.h>
#include "util/u_misc.h"
#include "util/u_logging.h"
#include "xrt/xrt_gfx_xlib.h"
#include "client/comp_gl_xlib_client.h"
#include "client/comp_gl_memobj_swapchain.h"
#include "ogl/ogl_api.h"
#include "ogl/glx_api.h"
Macros | |
#define | CHECK_REQUIRED_EXTENSION(EXT) |
Typedefs | |
typedef void(* | void_ptr_func) (void) |
Functions | |
static bool | context_matches (const struct client_gl_context *a, const struct client_gl_context *b) |
static void | context_save_current (struct client_gl_context *current_ctx) |
static bool | context_make_current (const struct client_gl_context *ctx_to_make_current) |
static void | client_gl_xlib_compositor_destroy (struct xrt_compositor *xc) |
static xrt_result_t | client_gl_context_begin_locked (struct xrt_compositor *xc, enum client_gl_context_reason reason) |
static void | client_gl_context_end_locked (struct xrt_compositor *xc, enum client_gl_context_reason reason) |
void_ptr_func | glXGetProcAddress (const char *procName) |
struct client_gl_xlib_compositor * | client_gl_xlib_compositor_create (struct xrt_compositor_native *xcn, Display *xDisplay, uint32_t visualid, GLXFBConfig glxFBConfig, GLXDrawable glxDrawable, GLXContext glxContext) |
Xlib client side glue to compositor implementation.
#define CHECK_REQUIRED_EXTENSION | ( | EXT | ) |