From 3c32ca686cfb7bc7384e6c675610b5898d4c7ba0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Marchesin?= Date: Tue, 25 Aug 2015 00:08:10 -0700 Subject: [PATCH] drm_hwcomposer: Allow layer transforms They are very much valid now. I think this is just leftover? BUG=chrome-os-partner:42717 TEST=test rotation, it doesn't lock up Change-Id: I4cd96ae91c91452ef2be3cb3b07c123ce38ed576 --- drmdisplaycomposition.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/drmdisplaycomposition.cpp b/drmdisplaycomposition.cpp index c7168c0..c989494 100644 --- a/drmdisplaycomposition.cpp +++ b/drmdisplaycomposition.cpp @@ -178,8 +178,6 @@ int DrmDisplayComposition::SetLayers(hwc_layer_1_t *layers, size_t num_layers, for (size_t layer_index = 0; layer_index < num_layers; layer_index++) { hwc_layer_1_t *layer = &layers[layer_indices[layer_index]]; - if (layer->transform != 0) - return -EINVAL; native_handle_t *handle_copy = dup_buffer_handle(layer->handle); if (handle_copy == NULL) { -- 2.11.0