summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Tianyu Jiang <tianyuj@google.com> 2018-11-14 15:52:38 -0800
committer Tianyu Jiang <tianyuj@google.com> 2018-12-03 13:58:49 -0800
commit60887c97c3a0635c2e971f9ee1578beb26e7b69f (patch)
tree4819a44c648bfb142f34e3e1c3fad0651ceee456 /libs/gui/LayerDebugInfo.cpp
parentf669f6a2e5becd051b2829dc44bcba8043945cfe (diff)
Allow the same producer to gain a buffer twice.
This change makes the same producer gaining the same buffer the second time a no-op, and prevent other clients of the buffer from gaining it. Currently, EALREADY error will return if a producer gain a buffer which is already gained by the producer. Problem: there is an actual use case in passthrough processor that a producer may need to gain a buffer to mimic a "release" of a buffer in the consumer point of view. Test: buffer_hub-test Bug: 118718713 Change-Id: If958c95165a5ad62f51c46b01fa43b576d3b20ae
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions