skia2/dm
Mike Klein 0d5d142f6e rework colorImage testing
Replace all the old modes with two that should draw the same:

  1) decode to the codec's "native" SkImageInfo, draw to dst;
  2) decode to the dst's ct/at/cs, draw to dst.

Testing against --config srgb, p3, rec2020, narrow ought to give
us the kind of destination variety we were getting from the old
modes, and --configs 8888 shows off managed vs. unmanged color.

The only difference between the two is that 1) does any conversion at
draw time, 2) at decode time.

I don't quite understand why codec won't decode to some images to 565,
nor any images to 4444.

Bug: skia:8816
Change-Id: Ie57cb57312fdf21fd8dc36a0fa4d2c3b22e77acf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/198181
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-03-06 18:02:27 +00:00
..
DM.cpp rework colorImage testing 2019-03-06 18:02:27 +00:00
DMGpuTestProcs.cpp Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
DMJsonWriter.cpp also tag DM results with color and alpha type 2019-03-06 16:30:17 +00:00
DMJsonWriter.h also tag DM results with color and alpha type 2019-03-06 16:30:17 +00:00
DMSrcSink.cpp rework colorImage testing 2019-03-06 18:02:27 +00:00
DMSrcSink.h rework colorImage testing 2019-03-06 18:02:27 +00:00