diff options
| author | 2018-11-15 10:20:45 -0800 | |
|---|---|---|
| committer | 2018-12-04 06:07:30 +0000 | |
| commit | 0cdd2a0e03c5587e683e3d6dafc9944a3ed22cbd (patch) | |
| tree | 32af5244f8820a088fa51295cd542cca5e7f11af /libs/gui/LayerDebugInfo.cpp | |
| parent | 61e6e9f759f67261ba49405a6b67afd916240764 (diff) | |
Remove pending_consumers_ from producer channel
pending_consumers_ was created before the creation of buffer state atomics.
Producer channel need to check and issue signal if pending_consumers_ is
zero. pending_consumers_ == 0 is the same as buffer_state of
non-orphaned buffers are fully released. Thus, removing
pending_consumers_ as it gives redundant information and lower the
complexity of producer channel.
Bug: 119331650
Test: all tests are passing
on Blueline:
AHardwareBufferTest BufferHubBuffer_test BufferHubMetadata_test
buffer_hub_binder_service-test buffer_hub_queue_producer-test
libgui_test libsensor_test vrflinger_test buffer_hub-test
buffer_hub_queue-test dvr_buffer_queue-test dvr_api-test
dvr_display-test
on Vega:
AHardwareBufferTest BufferHubBuffer_test BufferHubMetadata_test
buffer_hub_queue_producer-test buffer_hub-test buffer_hub_queue-test
dvr_buffer_queue-test dvr_api-test libdvrtracking-test
Change-Id: I5ccf3e6b3a2a304e238c272bda443e6d180babc3
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions