Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b598f23a authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Cache and defer Surface binder IPC calls

Try to cache and defer Surface related IPC configuration
calls. Specifically:
1) Avoid retrieving the consumer name until dump
2) Cache and re-use the surface consumer usage value
3) Configure the producer max undequeued buffer count
   instead of the total buffer count
Additionally, raise the stream configuration thread
prioirty during the binder IPC intensive stream/surface
setup.

Bug: 323292530
Test: Manual using camera application,
adb shell dumpsys media.camera


Merged-In: Ibf4149a2b1fb8e5a5e357fa6e2360c70a743413d

Change-Id: Ibf4149a2b1fb8e5a5e357fa6e2360c70a743413d
(cherry picked from commit 3b93acb2)
parent 5137adf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment