Chromium Code Reviews| Index: tests/Test.h |
| diff --git a/tests/Test.h b/tests/Test.h |
| index 2dc7c66f7c2e2833eb2639b26989a73f06be93e0..935568c6f45e6fa00a47dd08ce05be4974132699 100644 |
| --- a/tests/Test.h |
| +++ b/tests/Test.h |
| @@ -66,6 +66,8 @@ namespace skiatest { |
| virtual bool isThreadsafe() const { return true; } |
| + virtual bool isGPUTest() const { return false; } |
|
mtklein
2014/01/27 22:35:29
Can you fold isThreadsafe and this together? isTh
borenet
2014/01/28 18:42:09
Done.
|
| + |
| protected: |
| virtual void onGetName(SkString*) = 0; |
| virtual void onRun(Reporter*) = 0; |
| @@ -83,6 +85,7 @@ namespace skiatest { |
| static GrContextFactory* GetGrContextFactory(); |
| static void DestroyContexts(); |
| virtual bool isThreadsafe() const { return false; } |
| + virtual bool isGPUTest() const { return true; } |
| private: |
| }; |