summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2020-02-03 11:23:26 -0800
committer Vishnu Nair <vishnun@google.com> 2020-02-03 20:38:55 +0000
commitf19544f28ba4d30066cc9b02c810f979ca789656 (patch)
treea29370068828486e4a4fc24eb15811e3ab90103b /libs/gui/QueueBufferInputOutput.cpp
parent466691bed8140fba59e581600e71cdcb6c64e8bd (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
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions