Monado OpenXR Runtime
|
OpenGL client side glue to compositor implementation. More...
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "util/u_misc.h"
#include "ogl/ogl_api.h"
#include "client/comp_gl_client.h"
Functions | |
bool | client_gl_compositor_init (struct client_gl_compositor *c, struct xrt_compositor_fd *xcfd, client_gl_get_procaddr get_gl_procaddr) |
Fill in a client_gl_compositor and do common OpenGL sanity checking. More... | |
OpenGL client side glue to compositor implementation.
bool client_gl_compositor_init | ( | struct client_gl_compositor * | c, |
struct xrt_compositor_fd * | xcfd, | ||
client_gl_get_procaddr | get_gl_procaddr | ||
) |
Fill in a client_gl_compositor and do common OpenGL sanity checking.
References client_gl_compositor::base, xrt_compositor_gl::base, and xrt_compositor::create_swapchain.
Referenced by client_gl_xlib_compositor_create(), and xrt_gfx_provider_create_gl_egl().