summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorNader Jawad <njawad@google.com>2021-06-17 14:10:04 -0700
committerNader Jawad <njawad@google.com>2021-06-17 22:13:24 +0000
commitb502ad7847bdabf8aa9908b606f0448a15ece259 (patch)
tree191ef7166299a481894cb97d36010a0a97d85f3a /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta388d2533df72c206d6c3d14d6c32a945ab16659 (diff)
Improve snapshot clearing consistency
Updated snapshot result to clear the internal SkImage whenever the layer changes. The previous logic did not clear out the snapshot in various use cases. Because the implementation before relied on the snapshot created with SkSurface this makes the cleanup logic consistent with SkImages created with SkImage::makeWithFilter Bug: 188450217 Test: manual testing of discord app Change-Id: I6391eb3b49794e54705bf5c6a09d2bdfd0564d05
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions