DescriptionAlways use a color table with 256 colors
Speculative fix for skbug.com/5883
We are hitting an assert (which I have not been able to repro - still
need to get the skp that triggers it) because we are trying to read
beyond the end of the color table. We use 8-bit indices, so 256 should
be enough to prevent going beyond the end. There is only one case when
we use a smaller color table - when it is a dummy. Make the dummy full
size.
NOTREECHECKS=true
BUG=skia:5883
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2452673002
Committed: https://skia.googlesource.com/skia/+/0057ac11fccc82bc5b0c1bb0aefe838cc04efd13
Patch Set 1 #Patch Set 2 : rebase #
Depends on Patchset: Messages
Total messages: 13 (7 generated)
|