ok: add 8888 and rp dsts
8888 is just a friendly alias for sw. rp is the same, but forcing SkRasterPipelineBlitter. Change-Id: Ie7a809643f21f49d6c696d4a4eac0e1deee7eaf8 Reviewed-on: https://skia-review.googlesource.com/19620 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
f7eb015083
commit
a611be86f0
@ -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);
|
||||
}};
|
||||
|
Loading…
Reference in New Issue
Block a user