Index: services/gles2/command_buffer_driver.h |
diff --git a/services/gles2/command_buffer_driver.h b/services/gles2/command_buffer_driver.h |
index 6d1fd345063034232ab9321e6175c49cc233a8a8..f307bb00328ced470f4341814b7378cf0a4dafca 100644 |
--- a/services/gles2/command_buffer_driver.h |
+++ b/services/gles2/command_buffer_driver.h |
@@ -13,6 +13,7 @@ |
#include "mojo/services/gpu/public/interfaces/command_buffer.mojom.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/size.h" |
+#include "ui/gl/gl_surface.h" |
namespace gpu { |
class CommandBufferService; |
@@ -45,12 +46,14 @@ class CommandBufferDriver { |
// Offscreen. |
CommandBufferDriver(gfx::GLShareGroup* share_group, |
gpu::gles2::MailboxManager* mailbox_manager, |
- gpu::SyncPointManager* sync_point_manager); |
+ gpu::SyncPointManager* sync_point_manager, |
+ const gfx::SurfaceConfiguration requested_configuration); |
qsr
2015/06/09 11:02:52
Here too.
iansf
2015/06/09 17:23:24
Done.
|
// Onscreen. |
CommandBufferDriver(gfx::AcceleratedWidget widget, |
gfx::GLShareGroup* share_group, |
gpu::gles2::MailboxManager* mailbox_manager, |
- gpu::SyncPointManager* sync_point_manager); |
+ gpu::SyncPointManager* sync_point_manager, |
+ const gfx::SurfaceConfiguration requested_configuration); |
~CommandBufferDriver(); |
void set_client(scoped_ptr<Client> client) { client_ = client.Pass(); } |
@@ -89,6 +92,7 @@ class CommandBufferDriver { |
scoped_refptr<gfx::GLShareGroup> share_group_; |
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_; |
scoped_refptr<gpu::SyncPointManager> sync_point_manager_; |
+ gfx::SurfaceConfiguration requested_configuration_; |
scoped_refptr<base::SingleThreadTaskRunner> context_lost_task_runner_; |
base::Callback<void(int32_t)> context_lost_callback_; |