summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-03-03 17:53:33 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-03-16 03:16:20 +0000
commite6dfc1736b3e37ad2ea0e9005cab36432de196b2 (patch)
treed3356a9ad2984b66d41ce5bf46c52d1a5b8c0d02 /rs/java/android/renderscript/RenderScript.java
parent8829e6b730f22991de79c285fc5b92902994579f (diff)
Ignore the checksum when comparing RAs for equality.
When comparing two RAs for equality, Ra#matches intentionally ignores lifetimes. It should ignore the checksum instead, because otherwise-identical packets with different lifetimes will almost certainly have different checksums. In order to avoid the generated APF program also matching the checksum, we treat the checksum as if it were a lifetime, but take care not to use its value when calculating mMinLifetime or when checking the lifetimes in the APF program. Bug: 27595799 Bug: 26238573 Change-Id: I526fdc17e99803a1ddec6275a3c542014434c429
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions