Index: gpu/command_buffer/service/in_process_command_buffer.h |
diff --git a/gpu/command_buffer/service/in_process_command_buffer.h b/gpu/command_buffer/service/in_process_command_buffer.h |
index 18c919ff1ca4a552ec208f1b5585166aa966a5c7..5ee1bd2b5a1f8bad06290f32f750b7a6741381ab 100644 |
--- a/gpu/command_buffer/service/in_process_command_buffer.h |
+++ b/gpu/command_buffer/service/in_process_command_buffer.h |
@@ -17,6 +17,7 @@ |
#include "gpu/gpu_export.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gfx/native_widget_types.h" |
+#include "ui/gl/gl_surface.h" |
#include "ui/gl/gpu_preference.h" |
namespace gfx { |
@@ -57,7 +58,8 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer { |
static void EnableVirtualizedContext(); |
- bool Initialize(bool is_offscreen, |
+ bool Initialize(scoped_refptr<gfx::GLSurface> surface, |
joth
2013/08/04 00:45:16
|surface| may be NULL ?
|
+ bool is_offscreen, |
bool share_resources, |
gfx::AcceleratedWidget window, |
const gfx::Size& size, |