commit | 8cdcb12752b716d0407733fecefcf1d9e926310a | [log] [tgz] |
---|---|---|
author | Wei-Ta Chen <weita@google.com> | Thu Jun 18 19:14:38 2009 +0800 |
committer | Wei-Ta Chen <weita@google.com> | Mon Jun 22 18:01:47 2009 +0800 |
tree | dd250fe1a38b1e6df4397a87a586a9dffb394bcb | |
parent | 3e3324bae45ff21615c07507e6918ad21681a6a2 [diff] |
Add prepareToDraw() to Bitmap for fixing http://b/issue?id=1907995. The function is used to rebuild any caches associated with the bitmap. In the case of purgeable bitmaps, this call ensures that the pixels are decoded for drawing, and therefore prefetching techniques implemented by callers can be leveraged.