summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/DisplayDevice.cpp
diff options
context:
space:
mode:
author Jim Shargo <jshargo@google.com> 2025-02-20 20:26:24 +0000
committer Jim Shargo <jshargo@google.com> 2025-03-14 15:04:33 +0000
commit729f721ae6ac3eb3e0c45b67f6c5f43c06065a22 (patch)
tree2bc5eef2cca69cfc6cb6308ff0d8a37a417197c1 /services/surfaceflinger/DisplayDevice.cpp
parent835688b9f7ccc6128918bba64014346b4f93ff20 (diff)
Surface: Add 'isBufferOwned' call
Camera's StreamSplitter keeps track of buffers and won't attach them if they're already owned. This allows us to keep that behavior as we move over from IGBP to surfaces. Ideally, I think, IGBPs should fail to attach the same buffer multiple times. Even if not, this call should probably be to the IGBP instead of the Surface for more accuracy. But this replicates the old behavior. Bug: 340933206 Flag: com.android.graphics.libgui.flags.wb_stream_splitter Test: new test Change-Id: Idbb200202012c9eae2668616dcff277c925c3907
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.cpp')
0 files changed, 0 insertions, 0 deletions