commit | 36b75f79611b9ed6f49dc0ec8d93f1cc945368ac | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Wed May 22 14:43:44 2019 -0400 |
committer | Stan Iliev <stani@google.com> | Wed May 22 14:43:44 2019 -0400 |
tree | 1c0e3dd85431897afa3a57ba06f23819c62c53e4 | |
parent | 28706f020b3bb4e93703e3405c03dc459fe1a04b [diff] |
Fix light center position for layers SkiaLayer::inverseTransformInWindow should be the inverse matrix of Layer transform. This CL fixes a bug, that matrix value was not inverted. This matrix is used in one place: to transform light center coordinates from device to RenderNode/layer coordinate space. Bug: 132758858 Test: Ran test app attached to bug. Manually compared coordinates. Change-Id: Id8e887276a5296091a8264d7a0b1bcc955620a6a