OLD | NEW |
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 #include <deque> | 5 #include <deque> |
6 #include <iostream> | 6 #include <ostream> |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "media/base/callback.h" | 15 #include "media/base/callback.h" |
16 #include "media/base/video_frame.h" | 16 #include "media/base/video_frame.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 scoped_ptr<GPUPainter> painter(painters[i].painter); | 154 scoped_ptr<GPUPainter> painter(painters[i].painter); |
155 painter->LoadFrames(&frames); | 155 painter->LoadFrames(&frames); |
156 painter->SetGLContext(surface, context); | 156 painter->SetGLContext(surface, context); |
157 painter->Initialize(width, height); | 157 painter->Initialize(width, height); |
158 printf("Running %s tests...", painters[i].name); | 158 printf("Running %s tests...", painters[i].name); |
159 RunTest(window.get(), painter.get()); | 159 RunTest(window.get(), painter.get()); |
160 } | 160 } |
161 | 161 |
162 return 0; | 162 return 0; |
163 } | 163 } |
OLD | NEW |