From ce3f4c3fe1ed3d99500acf4e41293eb6c55f9a4d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 16 Jun 2019 12:35:40 +0300 Subject: output: remove wlr_output_impl.transform The backend doesn't need to handle transform changes, since everything is done in software. In fact, all of the implementations were all identical and just set the transform. We could add support for hardware transforms, but: - This would require a different field (something like hardware_transform) - Not all combinations are possible because there often are hardware limitations - The Wayland protocol isn't ready for this (in particular xdg-output, see [1]) This belongs to a different patch series anyway. [1]: https://patchwork.freedesktop.org/series/52324/ --- include/wlr/interfaces/wlr_output.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index dc7a76d2..a9a89c34 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -19,8 +19,6 @@ struct wlr_output_impl { bool (*set_mode)(struct wlr_output *output, struct wlr_output_mode *mode); bool (*set_custom_mode)(struct wlr_output *output, int32_t width, int32_t height, int32_t refresh); - void (*transform)(struct wlr_output *output, - enum wl_output_transform transform); bool (*set_cursor)(struct wlr_output *output, struct wlr_texture *texture, int32_t scale, enum wl_output_transform transform, int32_t hotspot_x, int32_t hotspot_y, bool update_texture); -- cgit v1.2.3