commit | 0bbae0836426ba2704e38e7f90a9d0ca502ab71d | [log] [tgz] |
---|---|---|
author | Romain Guy <[email protected]> | Tue Jun 15 18:03:40 2010 -0700 |
committer | Romain Guy <[email protected]> | Tue Jun 15 18:03:40 2010 -0700 |
tree | 1c10bf9a0585a027b38d85683ebc8c3aae8790e0 | |
parent | 7e28c0108b2926832f29503682f950ab7506f684 [diff] |
Add new API to check whether a Bitmap was modified. Bitmap.getGenerationId() can be used by caches to find out if a Bitmap has been modified. This simply exposes an existing Skia API. This change also adds a small test app for Canvas hardware acceleration. The new Bitmap API is required to implement a texture cache. Change-Id: I8547b146cd14c8afe1a2327fcd6d71b1b1cb68fc