commit | 406acb8c012f74a881daafaf370b19dec7ecda46 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Tue Feb 14 08:30:55 2017 -0800 |
committer | Chia-I Wu <olv@google.com> | Tue Feb 14 08:32:35 2017 -0800 |
tree | e5082fa32adfcc3bf153adebf8b168a2cb2bcb76 | |
parent | 33bc71ff9524457ad4e0f57523d676b500701370 [diff] |
surfaceflinger: skip buffer cache when BYPASS_IHWC When SF talks to hwcomposer2 directly, we should skip HWC buffer cache. The cache works somehow similar to IGraphicBufferConsumer::acquireBuffer, where buffer is set to nullptr when it is already seen previously. That confuses hwcomposer2. Bug: 35325794 Test: manual Change-Id: I5306ecc9e7290bc6734091a9884024bf38667628