Chromium Code Reviews| Index: content/common/gpu/media/rendering_helper.h |
| diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h |
| index 26e8fb20cf0f9e7aee34e5c70a91ae709ae79b37..ce7f4e192b57e6ad448e6f697655b6970e3c5bdd 100644 |
| --- a/content/common/gpu/media/rendering_helper.h |
| +++ b/content/common/gpu/media/rendering_helper.h |
| @@ -52,6 +52,10 @@ struct RenderingHelperParams { |
| // The rendering FPS. |
| int rendering_fps; |
| + // The number of empty frames rendered when the rendering helper is |
| + // initialized. |
| + int warm_up_iterations; |
|
piman
2014/10/07 19:31:07
new field needs new initializer.
Owen Lin
2014/10/14 06:01:50
We didn't use initializer for other fields.
piman
2014/10/14 17:26:43
Other POD fields need initializers too.
|
| + |
| // The desired size of each window. We play each stream in its own window |
| // on the screen. |
| std::vector<gfx::Size> window_sizes; |
| @@ -149,6 +153,8 @@ class RenderingHelper { |
| void RenderContent(); |
| + void WarmUpRendering(int warm_up_iterations); |
| + |
| void LayoutRenderingAreas(const std::vector<gfx::Size>& window_sizes); |
| // Render |texture_id| to the current view port of the screen using target |