Chromium Code Reviews
DescriptionAdd isEncoded to SkImageGenerator
From within getDeferredTextureImageData() we want to know if the SkImage
is backed by an encoded image or not. We decided to add isEncoded to the
SkImage. However, the SkImage then needs to query the SkImageGenerator.
In order to land this change, 3 separate patches are needed to not break
the build.
This patch must land first. It allows image generators to override
isEncoded.
The second patch will be in Chrome, where its DecodingImageGenerators
will override isEncoded.
The third patch will then change getDeferredTextureImageData() to query
isEncoded.
BUG=646089
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2434323002
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||