Documentation for <wlr/render/egl.h>

Back to index

Table of contents

wlr_egl_create_with_context()

struct wlr_egl *wlr_egl_create_with_context(​EGLDisplay display, EGLContext context);

Create a struct wlr_egl with an existing EGL display and context.

This is typically used by compositors which want to customize EGL initialization.

wlr_egl_get_context()

EGLContext wlr_egl_get_context(​struct wlr_egl *egl);

Get the EGL context used by the struct wlr_egl.

This is typically used by compositors which need to perform custom OpenGL operations.

wlr_egl_get_display()

EGLDisplay wlr_egl_get_display(​struct wlr_egl *egl);

Get the EGL display used by the struct wlr_egl.

This is typically used by compositors which need to perform custom OpenGL operations.