From 7c4ca043361f6adb3d17a9d3db2397d86bac5a2d Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 10 Jan 2018 14:35:35 -0500 Subject: fix legacy makeRasterImage() Passing the color space down into SkImage_Lazy ends up triggering a SkTransferFunctionBehavior::kRespect decode (tf(r*a)), where we want ignore (tf(r)*a) to have any hope of working with the legacy backend. This fix in turn needs another little extension of another old hack in SkImage_Gpu for makeNonTextureImage() to keep working there. Bug: skia:7479 Change-Id: If48ca68e95d9eee597f6b10434498049981314ba Reviewed-on: https://skia-review.googlesource.com/93380 Commit-Queue: Mike Klein Reviewed-by: Brian Osman --- gn/gm.gni | 1 + 1 file changed, 1 insertion(+) (limited to 'gn/gm.gni') diff --git a/gn/gm.gni b/gn/gm.gni index 25c80bf886..418957f34d 100644 --- a/gn/gm.gni +++ b/gn/gm.gni @@ -204,6 +204,7 @@ gm_sources = [ "$_gm/localmatriximageshader.cpp", "$_gm/lumafilter.cpp", "$_gm/makecolorspace.cpp", + "$_gm/makeRasterImage.cpp", "$_gm/manypaths.cpp", "$_gm/matrixconvolution.cpp", "$_gm/matriximagefilter.cpp", -- cgit v1.2.3