Introduce wlr_renderer_get_egl

This commit is contained in:
Drew DeVault 2019-11-07 13:38:45 -05:00 committed by Simon Ser
parent aa9ea95e1f
commit 4c9423278a
3 changed files with 9 additions and 0 deletions

View file

@ -17,6 +17,8 @@ struct wlr_egl;
struct wlr_renderer *wlr_gles2_renderer_create(struct wlr_egl *egl);
struct wlr_egl *wlr_gles2_renderer_get_egl(struct wlr_renderer *renderer);
struct wlr_texture *wlr_gles2_texture_from_pixels(struct wlr_egl *egl,
enum wl_shm_format wl_fmt, uint32_t stride, uint32_t width, uint32_t height,
const void *data);