OSDN Git Service

SF: Always perform sideband transactions
authorDan Stoza <stoza@google.com>
Wed, 22 Apr 2015 21:59:08 +0000 (14:59 -0700)
committerDan Stoza <stoza@google.com>
Wed, 22 Apr 2015 23:53:15 +0000 (16:53 -0700)
commit9e9b0445544f11fdbf21a29601567af2d1819a30
treeab60d5b26d8a5f6e4ccb36695dfd4caec5cd065b
parente647dddebb11a383c0d95b6dfd0cbe0998d9b644
SF: Always perform sideband transactions

On normal Layers, we defer applying resize transactions until a buffer
of the correct size arrives. This breaks with sideband streams, because
buffers are not seen by SurfaceFlinger. This change applies
transactions immediately for Layers which have a sideband stream
attached to avoid that problem.

Bug: 20428254
Change-Id: I379d8aaef460d467cdf8432764b4a504928fb65a
(cherry picked from commit c300b8b506536e1bf94ffd8a3b75d46e776923e0)
services/surfaceflinger/Layer.cpp