DescriptionImage filters: Replace all use of tryAllocPixels() with createDevice().
In order to have a central pinch point for bitmap allocation, change all
filters to use Proxy::createDevice() instead of allocating memory
directly with SkBitmap::tryAllocPixels().
This will aid in moving filter backing stores and caches to
discardable memory.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/1d3ff434954189e194c468f429598465146dcf4b
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Fix morphology: don't allocate dest or temp until we need them #
Messages
Total messages: 13 (7 generated)
|