summaryrefslogtreecommitdiff
path: root/libs/vr
diff options
context:
space:
mode:
authorPat Plunkett <patplunkett@google.com>2017-09-08 19:46:35 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-09-08 19:46:35 +0000
commit878a9b16244e4f254e0f1d2ed70b4f597b24b72a (patch)
treed3555d2a2a7c093eb513319ce0d6bd68d827678a /libs/vr
parentce04896bd0f9be927d38c62c5fb67aed83f5d4cb (diff)
parent9db7166d7cf1ef4b9b1a0a997fada57318851e74 (diff)
downloadnative-878a9b16244e4f254e0f1d2ed70b4f597b24b72a.tar.gz
Set the layer composition type in HWC
am: 9db7166d7c Change-Id: Ic2cef4359d38384ff67c7e51cb3f4531fd9119c5
Diffstat (limited to 'libs/vr')
-rw-r--r--libs/vr/libvrflinger/hardware_composer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/vr/libvrflinger/hardware_composer.cpp b/libs/vr/libvrflinger/hardware_composer.cpp
index 66325ef3dd..eb3b2febee 100644
--- a/libs/vr/libvrflinger/hardware_composer.cpp
+++ b/libs/vr/libvrflinger/hardware_composer.cpp
@@ -1060,14 +1060,6 @@ void Layer::UpdateLayerSettings() {
UpdateVisibilitySettings();
- error = composer_->setLayerCompositionType(
- display, hardware_composer_layer_,
- composition_type_.cast<Hwc2::IComposerClient::Composition>());
- ALOGE_IF(
- error != HWC::Error::None,
- "Layer::UpdateLayerSettings: Error setting layer composition type: %s",
- error.to_string().c_str());
-
// TODO(eieio): Use surface attributes or some other mechanism to control
// the layer display frame.
error = composer_->setLayerDisplayFrame(