commit | f26c8be01bb218619e073a209c9d57fe9d26c517 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri May 18 10:58:45 2012 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri May 18 10:58:45 2012 -0700 |
tree | 6b00b9fb738143b19c3e3ec2496becc0e5309722 | |
parent | 7e22a223afa63c591ef56cb325163e5e82046822 [diff] |
Sanitize display list properties The comparisons used in the various properties setters could fail badly in some specific conditions. The scale properties in particular did not use the same comparisons. This change also clamps alpha to the 0..1 range which avoids overflow issues with lowp registers in GLSL computations. Change-Id: I3e73b584e907a14e2c33d0865ca0d2d4d5bff31d