aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorRose Hudson <rose@krx.sh>2023-06-02 11:10:35 +0100
committerSimon Ser <contact@emersion.fr>2023-06-05 19:50:07 +0000
commit45ca284eeee7790663a10cc3b8af5ccf00ebb059 (patch)
tree62e5e47f40fa2573b0f64e3574a90accf21b7f21 /include/wlr
parent9e8947e4d51ddafb40887b8a8ebfb1873615f9b6 (diff)
render/gles2: implement timer API
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/gles2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h
index f8db6195..daf6aab3 100644
--- a/include/wlr/render/gles2.h
+++ b/include/wlr/render/gles2.h
@@ -33,6 +33,7 @@ struct wlr_gles2_texture_attribs {
};
bool wlr_renderer_is_gles2(struct wlr_renderer *wlr_renderer);
+bool wlr_render_timer_is_gles2(struct wlr_render_timer *timer);
bool wlr_texture_is_gles2(struct wlr_texture *texture);
void wlr_gles2_texture_get_attribs(struct wlr_texture *texture,
struct wlr_gles2_texture_attribs *attribs);