summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-07-06 11:39:32 -0700
committerRomain Guy <romainguy@android.com>2010-07-06 12:00:33 -0700
commitdda570201ac851dd85af3861f7e575721d3345da (patch)
tree795e46c7cae42b22814af1ef2ac70c083debd746 /graphics/java/android/renderscript/Script.java
parent216108c492fef05261c70f1018d94cef0c3b23fd (diff)
Add a layer (FBO) cache.
The cache is used to draw layers so that a new texture does not have to be recreated every time a call to saveLayer() happens. The FBO cache used a KeyedVector, which is a bad idea. The cache should be able to store several FBOs of the same size (this happens a lot during scrolling with fading edges for instance.) This will be changed in a future CL. Change-Id: Ic316189e625f0dbcf0d273a71cc981a433d48726
Diffstat (limited to 'graphics/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions