diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-22 16:25:28 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-22 16:25:28 +0000 |
commit | 41809934d77a486ac30e36baadc519cbb11c4c05 (patch) | |
tree | 1f8477f559c99a74828d566fdd8a7c50c3478e34 /bench | |
parent | cb26535ff71fc323278892d6b90546b3b1c54649 (diff) |
Fix GPU-less build of bench.
git-svn-id: http://skia.googlecode.com/svn/trunk@7828 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench')
-rw-r--r-- | bench/benchmain.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index f56126eed6..e45f76ea1b 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -15,6 +15,8 @@ #include "gl/GrGLDefines.h" #include "GrRenderTarget.h" #include "SkGpuDevice.h" +#else +class GrContext; #endif // SK_SUPPORT_GPU #include "SkBenchLogger.h" @@ -28,6 +30,7 @@ #include "SkNWayCanvas.h" #include "SkPicture.h" #include "SkString.h" +#include "SkTArray.h" #include "TimerData.h" enum benchModes { |