Chromium Code Reviews| Index: tests/Test.h |
| diff --git a/tests/Test.h b/tests/Test.h |
| index 2dc7c66f7c2e2833eb2639b26989a73f06be93e0..f2b92400e2c33dcac37dc420ef8bed7dfdeac084 100644 |
| --- a/tests/Test.h |
| +++ b/tests/Test.h |
| @@ -64,7 +64,9 @@ namespace skiatest { |
| static SkString GetResourcePath(); |
| - virtual bool isThreadsafe() const { return true; } |
| + virtual bool isThreadsafe() const { return !this->isGPUTest(); } |
|
mtklein
2014/01/28 19:46:57
Before submitting, can you just remove this whole
borenet
2014/01/28 19:53:19
Done. I guess we don't currently (or plan to) have
|
| + |
| + virtual bool isGPUTest() const { return false; } |
| protected: |
| virtual void onGetName(SkString*) = 0; |
| @@ -82,7 +84,7 @@ namespace skiatest { |
| GpuTest() : Test() {} |
| static GrContextFactory* GetGrContextFactory(); |
| static void DestroyContexts(); |
| - virtual bool isThreadsafe() const { return false; } |
| + virtual bool isGPUTest() const { return true; } |
| private: |
| }; |