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

Side by Side Diff: gpu/tools/compositor_model_bench/compositor_model_bench.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This tool is used to benchmark the render model used by the compositor 5 // This tool is used to benchmark the render model used by the compositor
6 6
7 // Most of this file is derived from the source of the tile_render_bench tool, 7 // Most of this file is derived from the source of the tile_render_bench tool,
8 // and has been changed to support running a sequence of independent 8 // and has been changed to support running a sequence of independent
9 // simulations for our different render models and test cases. 9 // simulations for our different render models and test cases.
10 10
11 #include <stdio.h> 11 #include <stdio.h>
12 #include <sys/dir.h> 12 #include <sys/dir.h>
13 #include <sys/file.h> 13 #include <sys/file.h>
14 #include <sys/stat.h> 14 #include <sys/stat.h>
15 #include <sys/types.h> 15 #include <sys/types.h>
16 #include <X11/keysym.h> 16 #include <X11/keysym.h>
17 #include <X11/Xlib.h> 17 #include <X11/Xlib.h>
18 #include <X11/Xutil.h> 18 #include <X11/Xutil.h>
19 19
20 #include <queue> 20 #include <queue>
21 #include <string> 21 #include <string>
22 #include <vector> 22 #include <vector>
23 23
24 #include "base/at_exit.h" 24 #include "base/at_exit.h"
25 #include "base/basictypes.h"
26 #include "base/bind.h" 25 #include "base/bind.h"
27 #include "base/command_line.h" 26 #include "base/command_line.h"
28 #include "base/files/file_enumerator.h" 27 #include "base/files/file_enumerator.h"
29 #include "base/files/file_path.h" 28 #include "base/files/file_path.h"
30 #include "base/files/file_util.h" 29 #include "base/files/file_util.h"
31 #include "base/location.h" 30 #include "base/location.h"
32 #include "base/memory/scoped_ptr.h" 31 #include "base/memory/scoped_ptr.h"
33 #include "base/message_loop/message_loop.h" 32 #include "base/message_loop/message_loop.h"
34 #include "base/single_thread_task_runner.h" 33 #include "base/single_thread_task_runner.h"
35 #include "base/thread_task_runner_handle.h" 34 #include "base/thread_task_runner_handle.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 394 }
396 } else { 395 } else {
397 LOG(INFO) << "(input path is a file)"; 396 LOG(INFO) << "(input path is a file)";
398 sim.QueueTest(inPath); 397 sim.QueueTest(inPath);
399 } 398 }
400 399
401 sim.Run(); 400 sim.Run();
402 401
403 return 0; 402 return 0;
404 } 403 }
OLDNEW
« no previous file with comments | « gpu/perftests/texture_upload_perftest.cc ('k') | gpu/tools/compositor_model_bench/forward_render_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698