diff options
author | 2016-04-08 12:10:42 -0700 | |
---|---|---|
committer | 2016-04-08 12:10:42 -0700 | |
commit | 646125114b42b24e5ada3c9f8fac53a85f9ad2a0 (patch) | |
tree | c5d599427e99f89313131114b977f33232c3df48 /include | |
parent | 89c2a0b8c12879f94f746a5d9fe723a48434647f (diff) |
Upgrade SkSpecialImage to have getTextureRef & getROPixels entry points
This more closely aligns the SkSpecialImage API with the SkImage API. In doing so it allows the image filters to handle SkImages that can sneak through while remaining encoded (e.g., if an input filter just returns a wrapped version of the source SkImage)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861643003
Review URL: https://codereview.chromium.org/1861643003
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPixelRef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 651176ebbb..90e0de540d 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -404,6 +404,7 @@ private: void setImmutableWithID(uint32_t genID); friend class SkImage_Gpu; friend class SkImageCacherator; + friend class SkSpecialImage_Gpu; typedef SkRefCnt INHERITED; }; |