Fix swarming task failure on Debian10-Clang-arm-Chromebook-GLES.

Change-Id: Idf969d9f3bcf5522fcc5c66642a056617eb62daa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303664
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
John Stiles 2020-07-17 16:44:49 -04:00 committed by Skia Commit-Bot
parent 6732da0b21
commit 278b4a6b99
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,10 @@
#if GR_TEST_UTILS
GrProcessorTestData::GrProcessorTestData(SkRandom* random, GrRecordingContext* context,
int numViews, const ViewInfo views[])
: GrProcessorTestData(random, context, numViews, views, /*inputFP=*/nullptr) {}
GrProcessorTestData::GrProcessorTestData(SkRandom* random, GrRecordingContext* context,
int numViews, const ViewInfo views[],
std::unique_ptr<GrFragmentProcessor> inputFP)

View File

@ -53,9 +53,11 @@ class GrProcessorTestData {
public:
using ViewInfo = std::tuple<GrSurfaceProxyView, GrColorType, SkAlphaType>;
GrProcessorTestData(SkRandom* random, GrRecordingContext* context,
int numViews, const ViewInfo views[]);
GrProcessorTestData(SkRandom* random, GrRecordingContext* context,
int numViews, const ViewInfo views[],
std::unique_ptr<GrFragmentProcessor> inputFP = nullptr);
std::unique_ptr<GrFragmentProcessor> inputFP);
GrProcessorTestData(const GrProcessorTestData&) = delete;
~GrProcessorTestData();