summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2023-02-07 11:24:25 -0500
committer Leon Scroggins III <scroggo@google.com> 2023-02-07 12:13:23 -0500
commit959a7ff7868d0df34ed76a5af2cc67ec55495789 (patch)
tree3d85c61b5fd7070aece8472aa27bae435d2773f6 /libs/gui/BLASTBufferQueue.cpp
parentdb16a2be4054d0dd7d940f4fa0a2ced0575fd2e7 (diff)
Make onVsync return a display id
The caller of this method then turns around and asks HWComposer for the display id, so we might as well return the id in the first place. Use an optional so it can return the equivalent of false in the old version. Use ftl::Concat to save memory allocations. Factored out from If60218e85292c786b9fa70ecb33ee374d3a385e0 after it was reverted. Bug: 255601557 Bug: 256196556 Test: atest libsurfaceflinger_unittest:HWComposerTest Change-Id: I21be76e20776d8a3f49e5bd295a0042de9e2dde9
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions