aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-09 16:55:37 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-09 17:25:02 -0400
commit0abb67c478208ac656d86974477ff640900a9128 (patch)
tree6d00a4748cfb3a2ab06b058dd814a7568de92815 /include/wlr
parent7b25b0ff88f144351a4204fe195dfa69dfbfe4cc (diff)
buffer: stop using source resource in wlr_client_buffer_apply_damage
This is the first step towards dropping wlr_client_buffer.resource.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_buffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h
index 21bcdefc..6327bbfb 100644
--- a/include/wlr/types/wlr_buffer.h
+++ b/include/wlr/types/wlr_buffer.h
@@ -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;
};
/**