commit | 17c5adfa63872fbb6a903a5941e3c6455995b92d | [log] [tgz] |
---|---|---|
author | Tom Hudson <tomhudson@google.com> | Tue Jun 09 15:46:04 2015 -0400 |
committer | Tom Hudson <tomhudson@google.com> | Tue Jun 09 15:46:04 2015 -0400 |
tree | d85008a35e1970759323f3d9154b1b70ed344a71 | |
parent | 5b00154acbb1f995a9ded429ec0ebc1be379eda7 [diff] |
drawBitmap() support for extractSubset() In SkiaCanvasProxy, translate drawBitmap() calls on bitmaps which are the result of extractSubset() into drawBitmapRect() calls on the original PixelRef. If HWUI isn't going to support subsetting, we'll need to do this, probably at additional entry points, to interoperate with native Skia bitmaps. This change by itself fixes the extractbitmap GM. R=djsollen@google.com BUG=skia:3606 Change-Id: I5744da87d8f16dc1a252f606dfaa4016bd01e66e