commit | 3b087f4010327b304242aaf27ef3689150dfc226 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Thu Feb 18 08:48:03 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 18 08:48:04 2016 -0800 |
tree | 53c0d5533e8f7d566f115dfdf0fe80a388c7c08e | |
parent | 4528c867c4ba65fdf5cfd6de35ea4c36a16c73f6 [diff] |
Update SkSpecialImage API This adds some temporary compatibility features: internal_getBM & internal_fromBM - to convert back & forth from Bitmaps in the ImageFilters internal_getProxy - to allow the special images to interface with the current ImagerFilter system It also adds a unique ID, opaque flag and size method. The unique ID and size method are needed for the image filter's caching system. The opaque flag is need for swapping back & forth from Bitmaps These are all calved off of https://codereview.chromium.org/1695823002/ (Get OffsetImageFilter really working with SkSpecialImages) which actually makes use of them. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1705113002 Review URL: https://codereview.chromium.org/1705113002