rename new GM

Our new srgb_color_filter (in gm/srgb_color_filter.cpp) is awfully
similar to the existing srgb_colorfilter (in gm/srgb.cpp).

Let's rename the new one.

Change-Id: I8c7816c377cc4342388be51632353882a1bc5241
Reviewed-on: https://skia-review.googlesource.com/26525
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Klein 2017-07-25 13:48:51 -04:00 committed by Skia Commit-Bot
parent 159db0a6a1
commit c47f223d14
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
#include "SkPM4fPriv.h"
#include "SkToSRGBColorFilter.h"
DEF_SIMPLE_GM_BG(srgb_color_filter, canvas, 130, 130, SK_ColorBLACK) {
DEF_SIMPLE_GM_BG(tosrgb_colorfilter, canvas, 130, 130, SK_ColorBLACK) {
// Src bitmap with some colors that we're going to interpret as being in a few different spaces
SkBitmap bmp;
bmp.allocN32Pixels(3, 2);

View File

@ -277,7 +277,7 @@ gm_sources = [
"$_gm/spritebitmap.cpp",
"$_gm/srcmode.cpp",
"$_gm/srgb.cpp",
"$_gm/srgb_color_filter.cpp",
"$_gm/tosrgb_colorfilter.cpp",
"$_gm/stlouisarch.cpp",
"$_gm/stringart.cpp",
"$_gm/stroke_rect_shader.cpp",