| Index: bench/HairlinePathBench.cpp
|
| diff --git a/bench/HairlinePathBench.cpp b/bench/HairlinePathBench.cpp
|
| index 7b413c4677d3ba64d5f95331db3b65c69edc5a29..37fc57d188d22ef8b9eb4926beadf89515c00905 100644
|
| --- a/bench/HairlinePathBench.cpp
|
| +++ b/bench/HairlinePathBench.cpp
|
| @@ -12,11 +12,6 @@
|
| #include "SkShader.h"
|
| #include "SkString.h"
|
|
|
| -#if SK_SUPPORT_GPU
|
| -#include "GrDrawTargetCaps.h"
|
| -#include "GrTest.h"
|
| -#endif
|
| -
|
| enum Flags {
|
| kBig_Flag = 1 << 0,
|
| kAA_Flag = 1 << 1
|
| @@ -177,21 +172,6 @@ public:
|
| }
|
| }
|
|
|
| - virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE {
|
| -#if SK_SUPPORT_GPU
|
| - GrContext* context = canvas->getGrContext();
|
| - // This is a workaround for skbug.com/2078. See also skbug.com/2033.
|
| - if (context) {
|
| - GrTestTarget tt;
|
| - context->getTestTarget(&tt);
|
| - if (tt.target()->caps()->pathRenderingSupport()) {
|
| - return;
|
| - }
|
| - }
|
| -#endif
|
| - INHERITED::onDraw(loops, canvas);
|
| - }
|
| -
|
| private:
|
| typedef HairlinePathBench INHERITED;
|
| };
|
|
|