summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Gil Dekel <gildekel@google.com> 2024-11-26 16:55:22 -0500
committer Gil Dekel <gildekel@google.com> 2024-12-06 23:54:30 -0500
commit17029d81d5e681c95ae94f354dc468b4d070f977 (patch)
treed98987209c900f6cd569065f03e2003ffa564263 /libs/gui/BLASTBufferQueue.cpp
parentffca0adeddc2da58a709bfef4c3e5e1522a061a3 (diff)
SF: Cache display port in physical DisplaySnapshot
In order to be able to remove direct dependencies on a DisplayId's int value, we have to find alternatives for the API it provides. One such piece of data is a display port, which is encoded directly in the ID int value. Cache the port as it is retrieved from HWC into DisplaySnapshot when they are updated or created so it can be served later via alternative ISurfaceComposer APIs. Bug: 374163881 Bug: 377307639 Flag: EXEMPT refactor Test: libsurfaceflinger_unittest Change-Id: I7a7e38695ca6065238644457986f12dcce4b59d0
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions