Monado OpenXR Runtime
|
OpenGL client side glue using EGLImageKHR - header. More...
#include "comp_gl_client.h"
Go to the source code of this file.
Data Structures | |
class | client_gl_eglimage_swapchain |
Wraps the real compositor swapchain providing a OpenGL based interface. More... | |
Typedefs | |
typedef void * | EGLImage |
typedef void * | EGLDisplay |
Functions | |
struct xrt_swapchain * | client_gl_eglimage_swapchain_create (struct xrt_compositor *xc, const struct xrt_swapchain_create_info *info, struct xrt_swapchain_native *xscn, struct client_gl_swapchain **out_sc) |
Create a swapchain, belonging to a client_gl_compositor, that uses some way of producing an EGLImageKHR from the native buffer. More... | |
OpenGL client side glue using EGLImageKHR - header.
struct xrt_swapchain * client_gl_eglimage_swapchain_create | ( | struct xrt_compositor * | xc, |
const struct xrt_swapchain_create_info * | info, | ||
struct xrt_swapchain_native * | xscn, | ||
struct client_gl_swapchain ** | out_sc | ||
) |
Create a swapchain, belonging to a client_gl_compositor, that uses some way of producing an EGLImageKHR from the native buffer.
This is used on Android and on desktop when the EGL extension is used.
Also, glEGLImageTargetTexStorageEXT was added in Android platform 28, so fairly recently.
References client_egl_compositor::client_egl_compositor().