diff options
Diffstat (limited to 'tools/flags/SkCommonFlagsConfig.h')
-rw-r--r-- | tools/flags/SkCommonFlagsConfig.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/flags/SkCommonFlagsConfig.h b/tools/flags/SkCommonFlagsConfig.h index 77f31c32c2..18b138c468 100644 --- a/tools/flags/SkCommonFlagsConfig.h +++ b/tools/flags/SkCommonFlagsConfig.h @@ -56,7 +56,8 @@ class SkCommandLineConfigGpu : public SkCommandLineConfig { SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts, ContextType contextType, bool useNVPR, bool useInstanced, bool useDIText, int samples, SkColorType colorType, SkAlphaType alphaType, - sk_sp<SkColorSpace> colorSpace, bool useStencilBuffers); + sk_sp<SkColorSpace> colorSpace, bool useStencilBuffers, + bool testThreading); const SkCommandLineConfigGpu* asConfigGpu() const override { return this; } ContextType getContextType() const { return fContextType; } ContextOverrides getContextOverrides() const { return fContextOverrides; } @@ -71,6 +72,7 @@ class SkCommandLineConfigGpu : public SkCommandLineConfig { SkColorType getColorType() const { return fColorType; } SkAlphaType getAlphaType() const { return fAlphaType; } SkColorSpace* getColorSpace() const { return fColorSpace.get(); } + bool getTestThreading() const { return fTestThreading; } private: ContextType fContextType; @@ -80,6 +82,7 @@ class SkCommandLineConfigGpu : public SkCommandLineConfig { SkColorType fColorType; SkAlphaType fAlphaType; sk_sp<SkColorSpace> fColorSpace; + bool fTestThreading; }; #endif |