aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-12-05 16:06:51 +0100
committerSimon Ser <contact@emersion.fr>2023-12-27 13:41:01 +0100
commitd68ba9d6c2bca6c5e9f7db1b6043d6e742b77bbd (patch)
tree73c0a1d29f710ac7b78fd3125665c45c4b4f870b /include/wlr
parent1968ada2132237f5bf8e40b6bf903fbce76c0b40 (diff)
presentation-time: drop wlr_presentation arg
There can only be a single presentation-time global advertised to clients, this it's unnecessary to pass around the wlr_presentation pointer.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_presentation_time.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/wlr/types/wlr_presentation_time.h b/include/wlr/types/wlr_presentation_time.h
index 9543cff6..b772295e 100644
--- a/include/wlr/types/wlr_presentation_time.h
+++ b/include/wlr/types/wlr_presentation_time.h
@@ -71,7 +71,7 @@ struct wlr_presentation *wlr_presentation_create(struct wl_display *display,
* this surface.
*/
struct wlr_presentation_feedback *wlr_presentation_surface_sampled(
- struct wlr_presentation *presentation, struct wlr_surface *surface);
+ struct wlr_surface *surface);
void wlr_presentation_feedback_send_presented(
struct wlr_presentation_feedback *feedback,
const struct wlr_presentation_event *event);
@@ -92,8 +92,7 @@ void wlr_presentation_event_from_output(struct wlr_presentation_event *event,
* before a wlr_output_commit() call to indicate that the surface's current
* contents have been copied to a buffer which will be displayed on the output.
*/
-void wlr_presentation_surface_textured_on_output(
- struct wlr_presentation *presentation, struct wlr_surface *surface,
+void wlr_presentation_surface_textured_on_output(struct wlr_surface *surface,
struct wlr_output *output);
/**
* Mark the current surface's buffer as scanned out on the given output.
@@ -101,8 +100,7 @@ void wlr_presentation_surface_textured_on_output(
* Same as wlr_presentation_surface_textured_on_output(), but indicates direct
* scan-out.
*/
-void wlr_presentation_surface_scanned_out_on_output(
- struct wlr_presentation *presentation, struct wlr_surface *surface,
+void wlr_presentation_surface_scanned_out_on_output(struct wlr_surface *surface,
struct wlr_output *output);
#endif