commit | f19544f28ba4d30066cc9b02c810f979ca789656 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Mon Feb 03 11:23:26 2020 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Mon Feb 03 20:38:55 2020 +0000 |
tree | a29370068828486e4a4fc24eb15811e3ab90103b | |
parent | 466691bed8140fba59e581600e71cdcb6c64e8bd [diff] |
Update shadow render code to use lookup texture Optimizes performance on low end devices by avoiding exp() in the fragment shader and lowering the precision of the shadow attributes used in the shaders. Test: adb shell su root dumpsys SurfaceFlinger --timestats -dump -maxlayers 0 on wembley Test: atest SurfaceFlinger_test librenderengine_test Test: shadows still look like shadows Change-Id: I0e6e35a2f4f2d31b3126438ebb8b34d92a7d98c0