diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-08-04 12:37:54 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-18 11:49:11 +0100 |
commit | 702befc697ba838f9155d93edc6a54c655cadf2b (patch) | |
tree | 47ddb9ab2caebd2a5e77b8ed6d79bea15a8de095 /gsk/gskgldriverprivate.h | |
parent | e7c7932d7202eb15683c589a7c6529b93aa1ab3e (diff) | |
download | gtk+-702befc697ba838f9155d93edc6a54c655cadf2b.tar.gz |
gsk: Recycle textures across frames
We keep the textures used inside a frame around until the end of the
following frame; whenever we need a texture with the same size, and
it's not marked in use, then we just reuse the existing texture.
Diffstat (limited to 'gsk/gskgldriverprivate.h')
-rw-r--r-- | gsk/gskgldriverprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskgldriverprivate.h b/gsk/gskgldriverprivate.h index 30eaffa1fb..b69a387ca7 100644 --- a/gsk/gskgldriverprivate.h +++ b/gsk/gskgldriverprivate.h @@ -56,6 +56,8 @@ void gsk_gl_driver_destroy_texture (GskGLDriver *driver void gsk_gl_driver_destroy_vao (GskGLDriver *driver, int vao_id); +void gsk_gl_driver_collect_textures (GskGLDriver *driver); + G_END_DECLS #endif /* __GSK_GL_DRIVER_PRIVATE_H__ */ |