commit | d410f04ec8db892eb37758ddd230223ccab801bc | [log] [tgz] |
---|---|---|
author | Zach Reizner <zachr@google.com> | Tue Jul 28 15:33:07 2015 -0700 |
committer | Zachary Reizner <zachr@google.com> | Wed Jul 29 00:22:51 2015 +0000 |
tree | 1c972d970afb8d03adca750b0035faaa37517264 | |
parent | 7912438911de042dc035cf1ea39daaf4e56bf9f3 [diff] |
drm_hwcomposer: limit maximum depth of display composition queue SurfaceFlinger will destroy our layer handles if we don't use them after about a second. To get around this issue, we block SurfaceFlinger on hwc_set if the display composition queue is getting too large. This often happens during the init of the GLWorker or during heavy GPU usage. Change-Id: Idb4a3a81e0d3a2caf7f94e5515a19ec16a1c67e3