OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 | 7 |
8 #include <ctype.h> | 8 #include <ctype.h> |
9 | 9 |
10 #include "nanobench.h" | 10 #include "nanobench.h" |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 GPU_CONFIG(gpu, kNative_GLContextType, 0, false) | 436 GPU_CONFIG(gpu, kNative_GLContextType, 0, false) |
437 GPU_CONFIG(msaa4, kNative_GLContextType, 4, false) | 437 GPU_CONFIG(msaa4, kNative_GLContextType, 4, false) |
438 GPU_CONFIG(msaa16, kNative_GLContextType, 16, false) | 438 GPU_CONFIG(msaa16, kNative_GLContextType, 16, false) |
439 GPU_CONFIG(nvprmsaa4, kNVPR_GLContextType, 4, false) | 439 GPU_CONFIG(nvprmsaa4, kNVPR_GLContextType, 4, false) |
440 GPU_CONFIG(nvprmsaa16, kNVPR_GLContextType, 16, false) | 440 GPU_CONFIG(nvprmsaa16, kNVPR_GLContextType, 16, false) |
441 GPU_CONFIG(gpudft, kNative_GLContextType, 0, true) | 441 GPU_CONFIG(gpudft, kNative_GLContextType, 0, true) |
442 GPU_CONFIG(debug, kDebug_GLContextType, 0, false) | 442 GPU_CONFIG(debug, kDebug_GLContextType, 0, false) |
443 GPU_CONFIG(nullgpu, kNull_GLContextType, 0, false) | 443 GPU_CONFIG(nullgpu, kNull_GLContextType, 0, false) |
444 #ifdef SK_ANGLE | 444 #ifdef SK_ANGLE |
445 GPU_CONFIG(angle, kANGLE_GLContextType, 0, false) | 445 GPU_CONFIG(angle, kANGLE_GLContextType, 0, false) |
| 446 GPU_CONFIG(angle-gl, kANGLE_GL_GLContextType, 0, false) |
446 #endif | 447 #endif |
447 #ifdef SK_COMMAND_BUFFER | 448 #ifdef SK_COMMAND_BUFFER |
448 GPU_CONFIG(commandbuffer, kCommandBuffer_GLContextType, 0, false) | 449 GPU_CONFIG(commandbuffer, kCommandBuffer_GLContextType, 0, false) |
449 #endif | 450 #endif |
450 #if SK_MESA | 451 #if SK_MESA |
451 GPU_CONFIG(mesa, kMESA_GLContextType, 0, false) | 452 GPU_CONFIG(mesa, kMESA_GLContextType, 0, false) |
452 #endif | 453 #endif |
453 } | 454 } |
454 #endif | 455 #endif |
455 | 456 |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 | 1161 |
1161 return 0; | 1162 return 0; |
1162 } | 1163 } |
1163 | 1164 |
1164 #if !defined SK_BUILD_FOR_IOS | 1165 #if !defined SK_BUILD_FOR_IOS |
1165 int main(int argc, char** argv) { | 1166 int main(int argc, char** argv) { |
1166 SkCommandLineFlags::Parse(argc, argv); | 1167 SkCommandLineFlags::Parse(argc, argv); |
1167 return nanobench_main(); | 1168 return nanobench_main(); |
1168 } | 1169 } |
1169 #endif | 1170 #endif |
OLD | NEW |