aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
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/drm
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/drm')
-rw-r--r--backend/drm/drm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index f90890e7..47857df7 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -678,11 +678,6 @@ bool wlr_drm_connector_add_mode(struct wlr_output *output,
return true;
}
-static void drm_connector_transform(struct wlr_output *output,
- enum wl_output_transform transform) {
- output->transform = transform;
-}
-
static bool drm_connector_set_cursor(struct wlr_output *output,
struct wlr_texture *texture, int32_t scale,
enum wl_output_transform transform,
@@ -963,7 +958,6 @@ static void drm_connector_destroy(struct wlr_output *output) {
static const struct wlr_output_impl output_impl = {
.enable = enable_drm_connector,
.set_mode = drm_connector_set_mode,
- .transform = drm_connector_transform,
.set_cursor = drm_connector_set_cursor,
.move_cursor = drm_connector_move_cursor,
.destroy = drm_connector_destroy,