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

Side by Side Diff: media/tools/shader_bench/shader_bench.cc

Issue 18052007: Use a direct include of time headers in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 #include <stdio.h> 5 #include <stdio.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <deque> 7 #include <deque>
8 #include <ostream> 8 #include <ostream>
9 9
10 #include "base/at_exit.h" 10 #include "base/at_exit.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/time.h" 15 #include "base/time/time.h"
16 #include "media/base/video_frame.h" 16 #include "media/base/video_frame.h"
17 #include "media/tools/shader_bench/cpu_color_painter.h" 17 #include "media/tools/shader_bench/cpu_color_painter.h"
18 #include "media/tools/shader_bench/gpu_color_painter.h" 18 #include "media/tools/shader_bench/gpu_color_painter.h"
19 #include "media/tools/shader_bench/painter.h" 19 #include "media/tools/shader_bench/painter.h"
20 #include "media/tools/shader_bench/window.h" 20 #include "media/tools/shader_bench/window.h"
21 #include "ui/gfx/native_widget_types.h" 21 #include "ui/gfx/native_widget_types.h"
22 #include "ui/gl/gl_bindings.h" 22 #include "ui/gl/gl_bindings.h"
23 #include "ui/gl/gl_context.h" 23 #include "ui/gl/gl_context.h"
24 #include "ui/gl/gl_implementation.h" 24 #include "ui/gl/gl_implementation.h"
25 #include "ui/gl/gl_surface.h" 25 #include "ui/gl/gl_surface.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 scoped_ptr<GPUPainter> painter(painters[i].painter); 152 scoped_ptr<GPUPainter> painter(painters[i].painter);
153 painter->LoadFrames(&frames); 153 painter->LoadFrames(&frames);
154 painter->SetGLContext(surface, context); 154 painter->SetGLContext(surface, context);
155 painter->Initialize(width, height); 155 painter->Initialize(width, height);
156 printf("Running %s tests...", painters[i].name); 156 printf("Running %s tests...", painters[i].name);
157 RunTest(window.get(), painter.get()); 157 RunTest(window.get(), painter.get());
158 } 158 }
159 159
160 return 0; 160 return 0;
161 } 161 }
OLDNEW
« no previous file with comments | « media/tools/media_bench/media_bench.cc ('k') | media/video/capture/mac/video_capture_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698