port GrDataUtils to use generic transfer functions

As far as I can tell this affects only sRGB encoded buffers
as if via our as-yet-unsupported color type, so probably no
need to guard this change?

Change-Id: I2fb592b43c3f3dce3406501c318a47f3a6859f73
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/290811
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
1 file changed