commit | 747321cc8dd2810b53992f8b35d548d600ddc9b6 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Mon Oct 01 10:03:11 2018 -0700 |
committer | Peiyong Lin <lpy@google.com> | Wed Oct 17 11:33:59 2018 -0700 |
tree | d811ba6c2270b5aec9ff9cc9a0867c69977f7dd9 | |
parent | f53ae7ed084de6bd0f9f5ba543708f4147a4a709 [diff] |
[SurfaceFlinger] Avoid comparing to identity matrix. hasColorTransform is called every time on every layer that needs to be client composited. This patch adds a boolean for that check and move that check to when color transform matrix is set. BUG: 111562338 Test: Build, flash and boot. Change-Id: Icbd17458dc194f10f744ee7cc72c3462ae239a28