Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 #include "SampleApp.h" | 7 #include "SampleApp.h" |
| 8 | 8 |
| 9 #include "SkData.h" | 9 #include "SkData.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 77 #ifdef PIPE_NET | 77 #ifdef PIPE_NET |
| 78 #include "SkSockets.h" | 78 #include "SkSockets.h" |
| 79 SkTCPServer gServer; | 79 SkTCPServer gServer; |
| 80 #endif | 80 #endif |
| 81 | 81 |
| 82 #define USE_ARROWS_FOR_ZOOM true | 82 #define USE_ARROWS_FOR_ZOOM true |
| 83 | 83 |
| 84 #if SK_ANGLE | 84 #if SK_ANGLE |
| 85 //#define DEFAULT_TO_ANGLE 1 | 85 //#define DEFAULT_TO_ANGLE 1 |
| 86 #else | 86 #else |
| 87 //#define DEFAULT_TO_GPU 1 | 87 #define DEFAULT_TO_GPU 1 |
|
reed1
2013/08/13 12:33:41
// can we have a comment describing this flag
bsalomon
2013/08/13 14:28:37
I think this probably should not be checked in.
dierk
2013/08/13 19:50:17
Done.
| |
| 88 #endif | 88 #endif |
| 89 | 89 |
| 90 #define ANIMATING_EVENTTYPE "nextSample" | 90 #define ANIMATING_EVENTTYPE "nextSample" |
| 91 #define ANIMATING_DELAY 250 | 91 #define ANIMATING_DELAY 250 |
| 92 | 92 |
| 93 #ifdef SK_DEBUG | 93 #ifdef SK_DEBUG |
| 94 #define FPS_REPEAT_MULTIPLIER 1 | 94 #define FPS_REPEAT_MULTIPLIER 1 |
| 95 #else | 95 #else |
| 96 #define FPS_REPEAT_MULTIPLIER 10 | 96 #define FPS_REPEAT_MULTIPLIER 10 |
| 97 #endif | 97 #endif |
| (...skipping 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2545 SkGraphics::Init(); | 2545 SkGraphics::Init(); |
| 2546 SkEvent::Init(); | 2546 SkEvent::Init(); |
| 2547 } | 2547 } |
| 2548 | 2548 |
| 2549 // FIXME: this should be in a header | 2549 // FIXME: this should be in a header |
| 2550 void application_term(); | 2550 void application_term(); |
| 2551 void application_term() { | 2551 void application_term() { |
| 2552 SkEvent::Term(); | 2552 SkEvent::Term(); |
| 2553 SkGraphics::Term(); | 2553 SkGraphics::Term(); |
| 2554 } | 2554 } |
| OLD | NEW |