aboutsummaryrefslogtreecommitdiff
path: root/include/render/wlr_texture.h
AgeCommit message (Collapse)Author
2021-05-17render: introduce wlr_texture_from_bufferSimon Ser
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.