summaryrefslogtreecommitdiff
path: root/libs/binder/IProcessInfoService.cpp
diff options
context:
space:
mode:
author Tom Murphy <tomnom@google.com> 2025-02-19 18:50:46 +0000
committer Tom Murphy <tomnom@google.com> 2025-02-21 04:41:22 -0800
commit244dbe4e0b382e921dd2f010ec0abd1d8ae3fca4 (patch)
treed6487e278416d460f18cd8aa7cc8b86a3c06e426 /libs/binder/IProcessInfoService.cpp
parent9fd5fdd4d9765eef965361d7abca423222d9c93b (diff)
Extract GPDIFP2 getProducerUsage path to seperate function
Extracting the GPDIFP2 logic to its own function makes it easier to exit early from the GPDIFP2 path when we need to fall back to the GetSwapchainGrallocUsage*ANDROID path. This change also fixes an issue where we would exit getProducerUsage early instead of falling back to the gralloc paths if GPDIFP2 would return an error when called with an unsupported format. Bug: 379230826 Test: atest libvulkan_test Flag: EXEMPT bugfix Change-Id: I42f1fe31e5e4a01c472a12854a1f4e989d2786dc
Diffstat (limited to 'libs/binder/IProcessInfoService.cpp')
0 files changed, 0 insertions, 0 deletions