commit | 9c49bc3e643c435677727c1c0904c4a7cb7a6907 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 07 13:42:37 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 07 13:42:37 2011 +0000 |
tree | 20d6cb41a7367fddcdd4a8c8c958934fcb2c7955 | |
parent | 63e5e34c4ef180ea0f2d7b2f1343d92063c7cc10 [diff] |
Allow texture-backed bitmaps to perform a read-back when lockPixels is called. This means we have to be even more cautious about when we call lock, and we should always check getTexture() first if we can handle a texture directly, rather than forcing the read-back to get the bits. git-svn-id: http://skia.googlecode.com/svn/trunk@1815 2bbb7eff-a529-9590-31e7-b0007b416f81