OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "CrashHandler.h" | 8 #include "CrashHandler.h" |
9 #include "DMJsonWriter.h" | 9 #include "DMJsonWriter.h" |
10 #include "DMSrcSink.h" | 10 #include "DMSrcSink.h" |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 SINK("gpunull", GPUSink, Gr::kNull_GLContextType, api, 0
, false, FLAGS_gpu_threading); | 391 SINK("gpunull", GPUSink, Gr::kNull_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
392 SINK("gpudebug", GPUSink, Gr::kDebug_GLContextType, api, 0
, false, FLAGS_gpu_threading); | 392 SINK("gpudebug", GPUSink, Gr::kDebug_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
393 SINK("gpu", GPUSink, Gr::kNative_GLContextType, api, 0
, false, FLAGS_gpu_threading); | 393 SINK("gpu", GPUSink, Gr::kNative_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
394 SINK("gpudft", GPUSink, Gr::kNative_GLContextType, api, 0
, true, FLAGS_gpu_threading); | 394 SINK("gpudft", GPUSink, Gr::kNative_GLContextType, api, 0
, true, FLAGS_gpu_threading); |
395 SINK("msaa4", GPUSink, Gr::kNative_GLContextType, api, 4
, false, FLAGS_gpu_threading); | 395 SINK("msaa4", GPUSink, Gr::kNative_GLContextType, api, 4
, false, FLAGS_gpu_threading); |
396 SINK("msaa16", GPUSink, Gr::kNative_GLContextType, api, 16
, false, FLAGS_gpu_threading); | 396 SINK("msaa16", GPUSink, Gr::kNative_GLContextType, api, 16
, false, FLAGS_gpu_threading); |
397 SINK("nvprmsaa4", GPUSink, Gr::kNVPR_GLContextType, api, 4
, false, FLAGS_gpu_threading); | 397 SINK("nvprmsaa4", GPUSink, Gr::kNVPR_GLContextType, api, 4
, false, FLAGS_gpu_threading); |
398 SINK("nvprmsaa16", GPUSink, Gr::kNVPR_GLContextType, api, 16
, false, FLAGS_gpu_threading); | 398 SINK("nvprmsaa16", GPUSink, Gr::kNVPR_GLContextType, api, 16
, false, FLAGS_gpu_threading); |
399 #if SK_ANGLE | 399 #if SK_ANGLE |
400 SINK("angle", GPUSink, Gr::kANGLE_GLContextType, api, 0
, false, FLAGS_gpu_threading); | 400 SINK("angle", GPUSink, Gr::kANGLE_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
| 401 SINK("angle-gl", GPUSink, Gr::kANGLE_GL_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
401 #endif | 402 #endif |
402 #if SK_COMMAND_BUFFER | 403 #if SK_COMMAND_BUFFER |
403 SINK("commandbuffer", GPUSink, Gr::kCommandBuffer_GLContextType, api, 0
, false, FLAGS_gpu_threading); | 404 SINK("commandbuffer", GPUSink, Gr::kCommandBuffer_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
404 #endif | 405 #endif |
405 #if SK_MESA | 406 #if SK_MESA |
406 SINK("mesa", GPUSink, Gr::kMESA_GLContextType, api, 0
, false, FLAGS_gpu_threading); | 407 SINK("mesa", GPUSink, Gr::kMESA_GLContextType, api, 0
, false, FLAGS_gpu_threading); |
407 #endif | 408 #endif |
408 } | 409 } |
409 | 410 |
410 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK | 411 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 } | 914 } |
914 return 0; | 915 return 0; |
915 } | 916 } |
916 | 917 |
917 #if !defined(SK_BUILD_FOR_IOS) | 918 #if !defined(SK_BUILD_FOR_IOS) |
918 int main(int argc, char** argv) { | 919 int main(int argc, char** argv) { |
919 SkCommandLineFlags::Parse(argc, argv); | 920 SkCommandLineFlags::Parse(argc, argv); |
920 return dm_main(); | 921 return dm_main(); |
921 } | 922 } |
922 #endif | 923 #endif |
OLD | NEW |