aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-06-16 12:35:40 +0300
committerDrew DeVault <sir@cmpwn.com>2019-06-16 10:51:49 -0400
commitce3f4c3fe1ed3d99500acf4e41293eb6c55f9a4d (patch)
tree647674e1fed0a80cc3ae4c1337d6ec23f3232a0a /backend/x11
parent33127c545be731e373a9e4ccd38cd03da479c10f (diff)
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/
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/output.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 8ee15d51..2ce4b9b8 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -75,12 +75,6 @@ static bool output_set_custom_mode(struct wlr_output *wlr_output,
return true;
}
-static void output_transform(struct wlr_output *wlr_output,
- enum wl_output_transform transform) {
- struct wlr_x11_output *output = get_x11_output_from_output(wlr_output);
- output->wlr_output.transform = transform;
-}
-
static void output_destroy(struct wlr_output *wlr_output) {
struct wlr_x11_output *output = get_x11_output_from_output(wlr_output);
struct wlr_x11_backend *x11 = output->x11;
@@ -122,7 +116,6 @@ static bool output_commit(struct wlr_output *wlr_output) {
static const struct wlr_output_impl output_impl = {
.set_custom_mode = output_set_custom_mode,
- .transform = output_transform,
.destroy = output_destroy,
.attach_render = output_attach_render,
.commit = output_commit,