OLD | NEW |
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 #ifndef MEDIA_GPU_RENDERING_HELPER_H_ | 5 #ifndef MEDIA_GPU_RENDERING_HELPER_H_ |
6 #define MEDIA_GPU_RENDERING_HELPER_H_ | 6 #define MEDIA_GPU_RENDERING_HELPER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 gfx::Size screen_size_; | 208 gfx::Size screen_size_; |
209 | 209 |
210 std::vector<RenderedVideo> videos_; | 210 std::vector<RenderedVideo> videos_; |
211 | 211 |
212 bool render_as_thumbnails_; | 212 bool render_as_thumbnails_; |
213 int frame_count_; | 213 int frame_count_; |
214 GLuint thumbnails_fbo_id_; | 214 GLuint thumbnails_fbo_id_; |
215 GLuint thumbnails_texture_id_; | 215 GLuint thumbnails_texture_id_; |
216 gfx::Size thumbnails_fbo_size_; | 216 gfx::Size thumbnails_fbo_size_; |
217 gfx::Size thumbnail_size_; | 217 gfx::Size thumbnail_size_; |
| 218 GLuint vertex_buffer_; |
218 GLuint program_; | 219 GLuint program_; |
219 base::TimeDelta frame_duration_; | 220 base::TimeDelta frame_duration_; |
220 base::TimeTicks scheduled_render_time_; | 221 base::TimeTicks scheduled_render_time_; |
221 base::CancelableClosure render_task_; | 222 base::CancelableClosure render_task_; |
222 base::TimeTicks vsync_timebase_; | 223 base::TimeTicks vsync_timebase_; |
223 base::TimeDelta vsync_interval_; | 224 base::TimeDelta vsync_interval_; |
224 | 225 |
225 DISALLOW_COPY_AND_ASSIGN(RenderingHelper); | 226 DISALLOW_COPY_AND_ASSIGN(RenderingHelper); |
226 }; | 227 }; |
227 | 228 |
228 } // namespace media | 229 } // namespace media |
229 | 230 |
230 #endif // MEDIA_GPU_RENDERING_HELPER_H_ | 231 #endif // MEDIA_GPU_RENDERING_HELPER_H_ |
OLD | NEW |