aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-07-18 21:38:12 +0300
committerDrew DeVault <sir@cmpwn.com>2019-08-02 10:01:29 -0400
commitee5f98ad49fed0439f3313ec685307831d1d1d05 (patch)
tree13df7c4d845fd586e62e39a47e0af6bf60376a0d /include/wlr/interfaces
parentd20aee6c9de12c8949b4ce7775b53dbc5f3896a6 (diff)
output: atomic mode, enabled, scale and transform
This commit makes more output properties (mode, enabled, scale and transform) atomic. This means that they are double-buffered and only applied on commit. Compositors now need to call wlr_output_commit after setting any of those properties. Internally, backends still apply properties sequentially. The behaviour should be exactly the same as before. Future commits will update some backends to take advantage of the atomic interface. Some backends are non-atomic by design, e.g. the X11 backend or the legacy DRM backend. Updates: https://github.com/swaywm/wlroots/issues/1640
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index a9a89c34..8d4a3fd8 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -15,10 +15,6 @@
#include <wlr/types/wlr_output.h>
struct wlr_output_impl {
- bool (*enable)(struct wlr_output *output, bool enable);
- 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);
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);