diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-12 18:38:13 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-05-17 16:22:43 +0200 |
commit | 9d55f712e3880927bcbc39bf4da7f4166ea94a91 (patch) | |
tree | 5dcb3732a89e191416176cd0c0eed5d5d3fe4365 /examples/cat.h | |
parent | 9221ed7b4cf49fa2250977bede2827f323543aa2 (diff) |
render: introduce wlr_texture_from_buffer
This adds a a function to create a wlr_texture from a wlr_buffer.
The main motivation for this is to allow the renderer to create a
single wlr_texture per wlr_buffer. This can avoid needless imports
by re-using existing textures.
Diffstat (limited to 'examples/cat.h')
0 files changed, 0 insertions, 0 deletions