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

Side by Side Diff: bench/nanobench.cpp

Issue 1338003002: skia: Add ANGLE with GL backend to nanobench/DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove PictureRenderer changes Created 5 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
« no previous file with comments | « no previous file | dm/DM.cpp » ('j') | 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 * 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
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
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
OLDNEW
« no previous file with comments | « no previous file | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698