Chromium Code Reviews| Index: services/native_viewport/onscreen_context_provider.h |
| diff --git a/services/native_viewport/onscreen_context_provider.h b/services/native_viewport/onscreen_context_provider.h |
| index 46ab1b190448e322c0f1470090e9674c7618ca69..afaafff08153afd860c3ac30c8d79b545edea2ca 100644 |
| --- a/services/native_viewport/onscreen_context_provider.h |
| +++ b/services/native_viewport/onscreen_context_provider.h |
| @@ -10,6 +10,7 @@ |
| #include "mojo/services/gpu/public/interfaces/viewport_parameter_listener.mojom.h" |
| #include "services/gles2/command_buffer_impl.h" |
| #include "ui/gfx/native_widget_types.h" |
| +#include "ui/gl/gl_surface.h" |
| namespace gles2 { |
| class GpuState; |
| @@ -26,6 +27,8 @@ class OnscreenContextProvider : public mojo::ContextProvider, |
| void Bind(mojo::InterfaceRequest<mojo::ContextProvider> request); |
| void SetAcceleratedWidget(gfx::AcceleratedWidget widget); |
| + void SetSurfaceConfiguration( |
| + gfx::SurfaceConfiguration requested_configuration); |
|
abarth-chromium
2015/06/09 00:30:21
const gfx::SurfaceConfiguration&
iansf
2015/06/09 01:52:04
Done.
|
| private: |
| // mojo::ContextProvider implementation: |
| @@ -37,6 +40,7 @@ class OnscreenContextProvider : public mojo::ContextProvider, |
| void CreateAndReturnCommandBuffer(); |
| + gfx::SurfaceConfiguration requested_configuration_; |
| gles2::CommandBufferImpl* command_buffer_impl_; |
| scoped_refptr<gles2::GpuState> state_; |
| gfx::AcceleratedWidget widget_; |