OSDN Git Service
(root)
/
android-x86
/
external-drm_hwcomposer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d63e7f
)
drm_hwcomposer: Allow layer transforms
author
Stéphane Marchesin
<marcheu@chromium.org>
Tue, 25 Aug 2015 07:08:10 +0000
(
00:08
-0700)
committer
Stéphane Marchesin
<marcheu@chromium.org>
Tue, 25 Aug 2015 07:16:19 +0000
(
00:16
-0700)
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
patch
|
blob
|
history
diff --git
a/drmdisplaycomposition.cpp
b/drmdisplaycomposition.cpp
index
c7168c0
..
c989494
100644
(file)
--- 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) {