aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-29 16:00:23 -0500
committerAlexander Orzechowski <alex@ozal.ski>2023-11-29 16:00:23 -0500
commitfc6000251cad887ef31c9e4ec35dd95e1a955311 (patch)
tree43e9b7b292b2a0b85f1c85ccd93287d7fd00c6e1 /include
parent3faf9883dcb31c7aeb47327b3cd3c6db963105a9 (diff)
output: Drop wlr_output_attach_render
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h5
-rw-r--r--include/wlr/types/wlr_output_layer.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index c86c2892..72b14b70 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -120,9 +120,8 @@ struct wlr_render_pass;
* The `frame` event will be emitted when it is a good time for the compositor
* to submit a new frame.
*
- * To render a new frame, compositors should call wlr_output_attach_render(),
- * render and call wlr_output_commit(). No rendering should happen outside a
- * `frame` event handler or before wlr_output_attach_render().
+ * To render a new frame, compositors should call wlr_output_begin_render_pass(),
+ * perform rendering on that render pass and finally call wlr_output_commit().
*/
struct wlr_output {
const struct wlr_output_impl *impl;
diff --git a/include/wlr/types/wlr_output_layer.h b/include/wlr/types/wlr_output_layer.h
index f4aef058..af843d07 100644
--- a/include/wlr/types/wlr_output_layer.h
+++ b/include/wlr/types/wlr_output_layer.h
@@ -18,8 +18,8 @@
* An output layer.
*
* Output layers are displayed between the output primary buffer (see
- * wlr_output_attach_buffer() and wlr_output_attach_render()) and the cursor
- * buffer. They can offload some rendering work to the backend.
+ * wlr_output_attach_buffer()) and the cursor buffer. They can offload some
+ * rendering work to the backend.
*
* To configure output layers, callers should call wlr_output_layer_create() to
* create layers, attach struct wlr_output_layer_state onto