render/gles2: implement timer API

This commit is contained in:
Rose Hudson 2023-06-02 11:10:35 +01:00 committed by Simon Ser
parent 9e8947e4d5
commit 45ca284eee
4 changed files with 150 additions and 3 deletions

View file

@ -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);