diff options
author | Stan Iliev <stani@google.com> | 2019-01-30 14:04:53 -0500 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2019-01-30 16:59:11 -0500 |
commit | 26679ce6bc3aa4c50291afb7137f0bd7b402a37b (patch) | |
tree | 4c41aad04e26883bda99d5fe64ebf01822f9e614 /rs/java/android/renderscript/ProgramStore.java | |
parent | 31f977a44344b8930143f16ab7f2fee4c5302d33 (diff) |
Cache SkImage in SurfaceTexture only if buffer content is same
SkImage is immutable and changing GraphicBuffer content after
the object is created is not allowed. We still can cache
the image when BufferQueue is empty and showing unchanged
buffer.
Test: Ran UiRendering CTS, camera app
Change-Id: I9edefbda534e5d15b41bd7ff804fb29b1f72cc75
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions