commit | 0a1013229254cdc146d4ce2f4b4aef301b018f09 | [log] [tgz] |
---|---|---|
author | Ruei-sung Lin <[email protected]> | Tue May 15 10:25:55 2012 -0700 |
committer | Ruei-sung Lin <[email protected]> | Tue May 29 15:52:45 2012 -0700 |
tree | be391369af2c3e8c4c90b739e7dffcb71152933a | |
parent | 9d820eccfc2ddbdc03680e22b9d4c4cac66a97b9 [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