commit | 56a0b9ac6a951053e283cf42e245a48d28d2624c | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Mon Dec 04 16:06:13 2017 -0800 |
committer | Robert Carr <racarr@google.com> | Wed Dec 06 07:59:06 2017 -0800 |
tree | 5427f63869923958346a679efbc9619a20496c07 | |
parent | 503d2bd9a0c64f90fc321f9d65fc65e592f1fa2b [diff] |
Avoid unnecessary calls to updateTransformHint It was observed that this could start to take noticeable time with high layer counts, I guess due to the acquisition of one mutex per layer per call. Anyway it looks like there's no need to call it if a display transaction didn't occur. Test: Existing tests pass. Change-Id: I1918d326a6d0ed32a0a5fea4008a746d328b335d