Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: bench/benchmain.cpp

Issue 23527004: Add missing dependency to unbreak NOGPU build. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #if SK_SUPPORT_GPU 9 #if SK_SUPPORT_GPU
10 #include "GrContext.h" 10 #include "GrContext.h"
11 #include "GrContextFactory.h" 11 #include "GrContextFactory.h"
12 #include "GrRenderTarget.h" 12 #include "GrRenderTarget.h"
13 #include "SkGpuDevice.h" 13 #include "SkGpuDevice.h"
14 #include "gl/GrGLDefines.h" 14 #include "gl/GrGLDefines.h"
15 #else 15 #else
16 class GrContext; 16 class GrContext;
17 #endif // SK_SUPPORT_GPU 17 #endif // SK_SUPPORT_GPU
18 18
19 #include "BenchTimer.h" 19 #include "BenchTimer.h"
20 #include "SkBenchLogger.h" 20 #include "SkBenchLogger.h"
21 #include "SkBenchmark.h" 21 #include "SkBenchmark.h"
22 #include "SkBitmapDevice.h" 22 #include "SkBitmapDevice.h"
23 #include "SkCanvas.h" 23 #include "SkCanvas.h"
24 #include "SkColorPriv.h"
24 #include "SkCommandLineFlags.h" 25 #include "SkCommandLineFlags.h"
25 #include "SkDeferredCanvas.h" 26 #include "SkDeferredCanvas.h"
26 #include "SkGraphics.h" 27 #include "SkGraphics.h"
27 #include "SkImageEncoder.h" 28 #include "SkImageEncoder.h"
28 #include "SkOSFile.h" 29 #include "SkOSFile.h"
29 #include "SkPicture.h" 30 #include "SkPicture.h"
30 #include "SkString.h" 31 #include "SkString.h"
31 32
32 enum BenchMode { 33 enum BenchMode {
33 kNormal_BenchMode, 34 kNormal_BenchMode,
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 gContextFactory.destroyContexts(); 628 gContextFactory.destroyContexts();
628 #endif 629 #endif
629 return 0; 630 return 0;
630 } 631 }
631 632
632 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 633 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
633 int main(int argc, char * const argv[]) { 634 int main(int argc, char * const argv[]) {
634 return tool_main(argc, (char**) argv); 635 return tool_main(argc, (char**) argv);
635 } 636 }
636 #endif 637 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698