aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-04-21 14:52:47 +0200
committerDrew DeVault <sir@cmpwn.com>2020-04-22 22:40:54 +0200
commit5dc3a9c7544e0436494bcc316cfaf4ca93094c6d (patch)
tree611da03263e67e2779f369f2f62962fd4356782c /include/wlr/render
parent01d45062531f8da120343a9ce8d75b12eafcc8da (diff)
render/gles2: add wlr_gles2_renderer_check_ext
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/gles2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h
index c53353d3..631b11a2 100644
--- a/include/wlr/render/gles2.h
+++ b/include/wlr/render/gles2.h
@@ -18,6 +18,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);
+bool wlr_gles2_renderer_check_ext(struct wlr_renderer *renderer,
+ const char *ext);
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,