summaryrefslogtreecommitdiff
path: root/drmdisplaycomposition.cpp
diff options
context:
space:
mode:
authorSt├ęphane Marchesin <marcheu@chromium.org>2015-08-25 00:08:10 -0700
committerSt├ęphane Marchesin <marcheu@chromium.org>2015-08-25 00:16:19 -0700
commit3c32ca686cfb7bc7384e6c675610b5898d4c7ba0 (patch)
tree5c5ba4b38edc1a4121c2072ebe193912653e7300 /drmdisplaycomposition.cpp
parent8d63e7fde00f5830480cd2225954f70e6b681d8b (diff)
downloaddrm_hwcomposer-3c32ca686cfb7bc7384e6c675610b5898d4c7ba0.tar.gz
drm_hwcomposer-3c32ca686cfb7bc7384e6c675610b5898d4c7ba0.tar.xz
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
Diffstat (limited to 'drmdisplaycomposition.cpp')
-rw-r--r--drmdisplaycomposition.cpp2
1 files changed, 0 insertions, 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) {