diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ok_dsts.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ok_dsts.cpp b/tools/ok_dsts.cpp index d03c95009d..c25a8d5fee 100644 --- a/tools/ok_dsts.cpp +++ b/tools/ok_dsts.cpp @@ -39,6 +39,7 @@ struct SWDst : Dst { } }; static Register sw{"sw", "draw with the software backend", SWDst::Create}; +static Register _8888{"8888", "alias for sw", SWDst::Create}; static Register _565{"565", "alias for sw:ct=565", [](Options options) { options["ct"] = "565"; @@ -55,3 +56,9 @@ static Register f16{"f16", "alias for sw:ct=f16,cs=srgb", [](Options options) { options["cs"] = "srgb"; return SWDst::Create(options); }}; + +extern bool gSkForceRasterPipelineBlitter; +static Register rp{"rp", "draw forcing SkRasterPipelineBlitter", [](Options options) { + gSkForceRasterPipelineBlitter = true; + return SWDst::Create(options); +}}; |