aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-01 14:08:07 +0200
committeremersion <contact@emersion.fr>2018-10-04 21:56:38 +0200
commit9203bfdd4fd0257174cd03c34ee02c6138e604b8 (patch)
tree7a171ca96ff717c397f9fb89650582bbeb66db5b /include/wlr
parent26b9d6dbb1f060405c02b6b66527b0272f79d495 (diff)
output: document signals
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index a794d4b2..fb3becd1 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -88,9 +88,14 @@ struct wlr_output {
float transform_matrix[9];
struct {
+ // Request to render a frame
struct wl_signal frame;
+ // Emitted when buffers need to be swapped (because software cursors or
+ // fullscreen damage or because of backend-specific logic)
struct wl_signal needs_swap;
+ // Emitted right before buffer swap
struct wl_signal swap_buffers; // wlr_output_event_swap_buffers
+ // Emitted right after the buffer has been presented to the user
struct wl_signal present; // wlr_output_event_present
struct wl_signal enable;
struct wl_signal mode;