DescriptionAllow index sources to be unpremul.
This only affects the PNG image decoder, where we have already created
the color table without premultiplication. Since the RowProcChooser is
just providing a proc that chooses indices into the color table, it can
just return the same RowProc.
Update test_row_proc_choice. It was testing to ensure that we hadn't
changed the behavior from the original version of setPrefConfigTable.
In this case, we deliberately changed the behavior, so we need to
change the test.
BUG=b/12024301
Committed: https://skia.googlesource.com/skia/+/13f701a14d2a303b153ea861a3482e25254a9c3c
Patch Set 1 #
Total comments: 2
Patch Set 2 : s/premultiplication/opts.fPremultiplyAlpha #Patch Set 3 : Fix test #Messages
Total messages: 11 (4 generated)
|