summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2019-03-04 15:35:28 +0800
committerAhan Wu <ahanwu@google.com>2019-03-05 11:34:15 +0800
commit4c9a55087bcfd56d63432e7b3dde409162812870 (patch)
tree254119555790c2554ecbde72bfe5e5e17480eea3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentdf44944fe6a2d8362e6bac3710795ab5fb185154 (diff)
Using linear interpolation in fragment shader to avoid over saturation.
The color of wallpaper is over saturated after remapping in the fragment shader so we also apply linear interpolation between original color and remapped color to avoid over saturation. In addition, we also add some comments, which is offered by UX, to fragment shader, thanks the great help of Vignesh! Bug: 126500189 Bug: 123615467 Test: Manually set wallpaper, compare the saturation of the image between wallpaper and wallpaper picker. Change-Id: Ibc063dfbc880c9b7dce8bec33fa2fd189ecf7d72
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions