summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorYichi Chen <yichichen@android.com>2018-03-29 21:21:54 +0800
committerYichi Chen <yichichen@google.com>2018-09-04 04:04:58 +0000
commit9f959556201f59305cd80ad32a1c117d5b7c4113 (patch)
tree4e4b2db1dad5465b8721ac788566e1f7c86befeb /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent7b07e4aae6f55ef77f6c080f7a65f8b3b3e692e0 (diff)
Add cache validation to ensure the validity
Create cache identity from GL_VERSION and store in ShaderCache. In the next time ShaderCache is restored from disk, compare the cache identity to ensure its validity. If GL_VERSION changes in between, flush out entire FileBlobCache and start from an empty one. Bug: b/71800782 Test: Wrote a new unit test to save and restore ShaderCache Test: hwui_unit_tests Change-Id: Ie573dc4f18733eee090725be30445d879765231b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions