aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2018-02-23 14:13:36 +0800
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-25 16:36:24 +0000
commitb8b6253df6e60e5cce71ae584921bd9da35c1b93 (patch)
tree826849c4b6f2b55af159eae88eaa8760cf6c5bd0 /dm/DM.cpp
parent3fd84fa4bff159db472db166ca31bdf969f143bb (diff)
Add threaded backend sink to DM. Fix a scheduler bug.
The bug is spotted by the new sink. I'd expect more bugs to be revealed and fixed using the new sink. Bug: skia: Change-Id: I6b0c9267079fbd6149004f0ecd55ddb179702588 Reviewed-on: https://skia-review.googlesource.com/109720 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index ef35e2cd02..1d3d815647 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -917,6 +917,7 @@ static Sink* create_sink(const GrContextOptions& grCtxOptions, const SkCommandLi
SINK("1010102", RasterSink, kRGBA_1010102_SkColorType);
SINK("101010x", RasterSink, kRGB_101010x_SkColorType);
SINK("f16", RasterSink, kRGBA_F16_SkColorType, srgbLinearColorSpace);
+ SINK("t8888", ThreadedSink, kN32_SkColorType);
SINK("pdf", PDFSink, false, SK_ScalarDefaultRasterDPI);
SINK("skp", SKPSink);
SINK("pipe", PipeSink);