DescriptionFix some GPU image filter code to preserve precision and color space
On the pure-GPU path, we just have an SkSpecialImage (that's definitely
texture backed), and we need a renderable config for the draw context we
make. Added a helper function to pick - this is basically the high
precision analog of what we were doing before (always using 8888).
The assert that I added catches many other problems in image filter code,
but those fixes are coming in subsequent CLs.
12 GMs render correctly (or more correctly) in gpusrgb and gpuf16
configs. In most cases, they were drawing previously nothing.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2359443003
Committed: https://skia.googlesource.com/skia/+/2695eaa41fbd208dcee9e134e180c6609856f0ac
Patch Set 1 #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 15 (9 generated)
|