summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTimothy Knight <tknight@google.com>2013-08-21 14:33:40 -0700
committerTimothy Knight <tknight@google.com>2013-09-04 16:58:58 +0000
commit23c8809568b68430f875df759108c58016c44c16 (patch)
tree2a5882afeb7e9ed693f8358b8d43c892c640b3ed /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7f043de9a9eb0b071b93ddfffdc5ba0f6d1c7309 (diff)
Camera2: Updated Rational for denom=0.
Handle NaN and INF using the same semantics as Java floats. No longer throw an exception if a rational is constructed with a zero-denominator. This commit is required for the ITS pdk app, since without it, the app fails when it tries to deserialize rational values that are (incorrectly) set to 0/0. Bug: 10337323 Change-Id: I890ec2092f2945abc0f531fc46f9a7f5c71d2dbf
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions