summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRuei-sung Lin <rslin@google.com>2012-05-15 10:25:55 -0700
committerRuei-sung Lin <rslin@google.com>2012-05-29 15:52:45 -0700
commit0a1013229254cdc146d4ce2f4b4aef301b018f09 (patch)
treebe391369af2c3e8c4c90b739e7dffcb71152933a /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9d820eccfc2ddbdc03680e22b9d4c4cac66a97b9 (diff)
Fix b/6575950 make shader program to support different precisions.
1. In shade code of Vignette and Fisheye, change from pixel coordinates to texture coordinates to avoid overflow. 2. Fix bug in ColorTemperature shader code 3. Revise shader code pseudo random number generator (used by BlackWhite, Grain, Lomo, Documentary filters) to ensure it produces no artifacts among devices with different precisions. Change-Id: Ifb67f12f114bc9cd7fbfa74f7782f130c5244e5d
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions