| Index: bench/benchmain.cpp
|
| diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
|
| index 5d840a02e891cb61763fd292a875d03140b14dd0..83d3dee042d66c839b8d892109c2cc35a5f240cc 100644
|
| --- a/bench/benchmain.cpp
|
| +++ b/bench/benchmain.cpp
|
| @@ -1,4 +1,3 @@
|
| -
|
| /*
|
| * Copyright 2011 Google Inc.
|
| *
|
| @@ -6,16 +5,6 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#if SK_SUPPORT_GPU
|
| -#include "GrContext.h"
|
| -#include "GrContextFactory.h"
|
| -#include "GrRenderTarget.h"
|
| -#include "SkGpuDevice.h"
|
| -#include "gl/GrGLDefines.h"
|
| -#else
|
| -class GrContext;
|
| -#endif // SK_SUPPORT_GPU
|
| -
|
| #include "BenchTimer.h"
|
| #include "SkBenchLogger.h"
|
| #include "SkBenchmark.h"
|
| @@ -30,6 +19,16 @@ class GrContext;
|
| #include "SkPicture.h"
|
| #include "SkString.h"
|
|
|
| +#if SK_SUPPORT_GPU
|
| +#include "GrContext.h"
|
| +#include "GrContextFactory.h"
|
| +#include "GrRenderTarget.h"
|
| +#include "SkGpuDevice.h"
|
| +#include "gl/GrGLDefines.h"
|
| +#else
|
| +class GrContext;
|
| +#endif // SK_SUPPORT_GPU
|
| +
|
| #include <limits>
|
|
|
| enum BenchMode {
|
|
|