OSDN Git Service

VR HWC: Relax checks around layer presentation
authorDaniel Nicoara <dnicoara@google.com>
Thu, 6 Apr 2017 15:10:33 +0000 (11:10 -0400)
committerDaniel Nicoara <dnicoara@google.com>
Fri, 7 Apr 2017 17:25:42 +0000 (17:25 +0000)
commit3e7dad572220e2c4b9bfbd471a6278385e99330d
treeae2202dcd3f5e917e0fd020b6167c42f00633a74
parentde73eb104754524c283cfdda3355586cd268f871
VR HWC: Relax checks around layer presentation

Rather than error out on layers without buffers, simply discard them.
This is more in line with other HWComposer implementations which deal
with this error, since SurfaceFlinger doesn't handle it appropriately.

Bug: 37091090
Test: Ran on device and verified errors are no longer reported in logcat
Change-Id: Iacfd9fa707d86367c7b6dbf62edea297fc9dfb8e
services/vr/vr_window_manager/composer/impl/vr_hwc.cpp