buffer: stop using source resource in wlr_client_buffer_apply_damage

This is the first step towards dropping wlr_client_buffer.resource.
This commit is contained in:
Simon Ser 2021-07-09 16:55:37 +02:00 committed by Simon Zeni
parent 7b25b0ff88
commit 0abb67c478
2 changed files with 28 additions and 6 deletions

View file

@ -137,7 +137,12 @@ struct wlr_client_buffer {
*/
struct wlr_texture *texture;
// private state
struct wl_listener resource_destroy;
// If the client buffer has been created from a wl_shm buffer
uint32_t shm_source_format;
};
/**