commit | ec71f00148458a2f9172c5a53f56594ee86db4fb | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Thu May 11 15:20:10 2017 -0700 |
committer | Chia-I Wu <olv@google.com> | Fri May 12 08:40:48 2017 -0700 |
tree | e6f6dbc491a68cc66fbeb0543b2a4a77b6857a38 | |
parent | 4be51a8512c2fb72e57326ee5d9f5f1d06eee3a2 [diff] |
graphics: set maxThreads to 4 for the composer There are implmentations that can dead lock when calling certain functions in certain states. It works fine before HIDL because SurfaceFlinger calls those functions in another thread. We allow for 4 hwbinder threads in this commit to simulate how SurfaceFlinger calls hwcomposer. Bug: 38183197 Test: camera, videos, multi windows, screencap, screenrecord Change-Id: Ie05b2ca349b8c1ed9a3ac962981434f2efee92d9