remove "srgb" config from DM,nanobench

Now that "srgb" is broken I don't want to accidentally run it.
"srgbnl" if of course identical, and not broken so much as
simply not yet working.  :)

While here, simplify the configs we run in nanobench too, eliminating
565 and moving F16 to GCE-only (i.e. fast, abundant machines).

Similarly, remove "adobe" VIA that doesn't use Adobe RGB correctly...

Change-Id: Ic295dec97a2caadadbe8500655243db36dd2c43d
Reviewed-on: https://skia-review.googlesource.com/132932
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Mike Klein <mtklein@chromium.org>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 4d2773e..f77299f 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -478,9 +478,6 @@
                kN32_SkColorType, kPremul_SkAlphaType, nullptr)
     CPU_CONFIG(565,  kRaster_Backend,
                kRGB_565_SkColorType, kOpaque_SkAlphaType, nullptr)
-    auto srgbColorSpace = SkColorSpace::MakeSRGB();
-    CPU_CONFIG(srgb, kRaster_Backend,
-               kN32_SkColorType,  kPremul_SkAlphaType, srgbColorSpace)
     auto srgbLinearColorSpace = SkColorSpace::MakeSRGBLinear();
     CPU_CONFIG(f16,  kRaster_Backend,
                kRGBA_F16_SkColorType, kPremul_SkAlphaType, srgbLinearColorSpace)
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 69c2504..34ffa541c 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -916,26 +916,17 @@
         SINK("pdfa",    PDFSink, true,  SK_ScalarDefaultRasterDPI);
         SINK("pdf300",  PDFSink, false, 300);
         SINK("jsdebug", DebugSink);
-
-        // TODO: kRGBA_sRGB_SkColorType / srgbLinearColorSpace?
-        SINK("srgb",    RasterSink, kN32_SkColorType, srgbColorSpace);
     }
 #undef SINK
     return nullptr;
 }
 
-static sk_sp<SkColorSpace> adobe_rgb() {
-    return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma,
-                                 SkColorSpace::kAdobeRGB_Gamut);
-}
-
 static sk_sp<SkColorSpace> rgb_to_gbr() {
     return SkColorSpace::MakeSRGB()->makeColorSpin();
 }
 
 static Sink* create_via(const SkString& tag, Sink* wrapped) {
 #define VIA(t, via, ...) if (tag.equals(t)) { return new via(__VA_ARGS__); }
-    VIA("adobe",     ViaCSXform,           wrapped, adobe_rgb(), false);
     VIA("gbr",       ViaCSXform,           wrapped, rgb_to_gbr(), true);
     VIA("lite",      ViaLite,              wrapped);
     VIA("pipe",      ViaPipe,              wrapped);
diff --git a/infra/bots/recipes/perf.expected/Perf-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json b/infra/bots/recipes/perf.expected/Perf-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json
index a305a98..ef18e8f 100644
--- a/infra/bots/recipes/perf.expected/Perf-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json
+++ b/infra/bots/recipes/perf.expected/Perf-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json
@@ -150,8 +150,6 @@
       "8888",
       "nonrendering",
       "f16",
-      "srgb",
-      "565",
       "--match",
       "~^floor2int_undef$",
       "~inc0.gif",
diff --git a/infra/bots/recipes/perf.py b/infra/bots/recipes/perf.py
index db7a967..da9afbf 100644
--- a/infra/bots/recipes/perf.py
+++ b/infra/bots/recipes/perf.py
@@ -60,12 +60,8 @@
     args.append('--nogpu')
     configs.extend(['8888', 'nonrendering'])
 
-    if '-arm-' not in bot:
-      # For Android CPU tests, these take too long and cause the task to time
-      # out.
-      configs += [ 'f16', 'srgb' ]
     if '-GCE-' in bot:
-      configs += [ '565' ]
+      configs += [ 'f16' ]
 
   elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
     args.append('--nocpu')
diff --git a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json
index 2e3a57a..8f35495 100644
--- a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json
+++ b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN.json
@@ -184,7 +184,6 @@
       "f16",
       "lite-8888",
       "gbr-8888",
-      "srgb",
       "srgbnl",
       "esrgb",
       "t8888",
diff --git a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-MSAN.json b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-MSAN.json
index 88d4a45..f00cfeb 100644
--- a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-MSAN.json
+++ b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-MSAN.json
@@ -183,7 +183,6 @@
       "f16",
       "lite-8888",
       "gbr-8888",
-      "srgb",
       "srgbnl",
       "esrgb",
       "t8888",
diff --git a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json
index 0f1934c..ccbc17b 100644
--- a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json
+++ b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json
@@ -266,7 +266,6 @@
       "f16",
       "lite-8888",
       "gbr-8888",
-      "srgb",
       "srgbnl",
       "esrgb",
       "serialize-8888",
diff --git a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-shard_00_10-Coverage.json b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-shard_00_10-Coverage.json
index 1aef121..f499bc0 100644
--- a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-shard_00_10-Coverage.json
+++ b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-shard_00_10-Coverage.json
@@ -189,7 +189,6 @@
       "f16",
       "lite-8888",
       "gbr-8888",
-      "srgb",
       "srgbnl",
       "esrgb",
       "serialize-8888",
diff --git a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-TSAN.json b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-TSAN.json
index 8aa3934..45d7adf 100644
--- a/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-TSAN.json
+++ b/infra/bots/recipes/test.expected/Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-TSAN.json
@@ -184,7 +184,6 @@
       "f16",
       "lite-8888",
       "gbr-8888",
-      "srgb",
       "srgbnl",
       "esrgb",
       "t8888",
diff --git a/infra/bots/recipes/test.expected/failed_dm.json b/infra/bots/recipes/test.expected/failed_dm.json
index 458f9a2..5a0d096 100644
--- a/infra/bots/recipes/test.expected/failed_dm.json
+++ b/infra/bots/recipes/test.expected/failed_dm.json
@@ -262,7 +262,6 @@
       "f16",
       "lite-8888",
       "gbr-8888",
-      "srgb",
       "srgbnl",
       "esrgb",
       "serialize-8888",
diff --git a/infra/bots/recipes/test.py b/infra/bots/recipes/test.py
index f419550..53ae495 100644
--- a/infra/bots/recipes/test.py
+++ b/infra/bots/recipes/test.py
@@ -118,7 +118,6 @@
       configs.extend(['f16'])
       configs.extend(['lite-8888'])              # Experimental display list.
       configs.extend(['gbr-8888'])
-      configs.extend(['srgb'])
       configs.extend(['srgbnl'])
       configs.extend(['esrgb'])