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

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

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 technique of using tiles to render a 5 // This tool is used to benchmark the technique of using tiles to render a
6 // large tecture. This tool runs with different tile sizes so that developer 6 // large tecture. This tool runs with different tile sizes so that developer
7 // can determine the right dimensions for the tiles. 7 // can determine the right dimensions for the tiles.
8 8
9 #include <iostream> 9 #include <ostream>
10 10
11 #include <X11/keysym.h> 11 #include <X11/keysym.h>
12 #include <X11/Xlib.h> 12 #include <X11/Xlib.h>
13 #include <X11/Xutil.h> 13 #include <X11/Xutil.h>
14 14
15 #include "base/at_exit.h" 15 #include "base/at_exit.h"
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/message_loop.h" 18 #include "base/message_loop.h"
19 #include "base/task.h" 19 #include "base/task.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // Cleanup GL. 238 // Cleanup GL.
239 glXMakeCurrent(g_display, 0, NULL); 239 glXMakeCurrent(g_display, 0, NULL);
240 glXDestroyContext(g_display, g_gl_context); 240 glXDestroyContext(g_display, g_gl_context);
241 241
242 // Destroy window and display. 242 // Destroy window and display.
243 XDestroyWindow(g_display, g_window); 243 XDestroyWindow(g_display, g_window);
244 XCloseDisplay(g_display); 244 XCloseDisplay(g_display);
245 return 0; 245 return 0;
246 } 246 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698