| Index: gpu/command_buffer/client/gl_in_process_context.h
|
| diff --git a/gpu/command_buffer/client/gl_in_process_context.h b/gpu/command_buffer/client/gl_in_process_context.h
|
| index e47b0203ce6a49a31fb4f0e1aa8c0f945353568b..8c15618c8caa5e070b77415675aa1555ab54520b 100644
|
| --- a/gpu/command_buffer/client/gl_in_process_context.h
|
| +++ b/gpu/command_buffer/client/gl_in_process_context.h
|
| @@ -41,7 +41,7 @@
|
| // Create a GLInProcessContext, if |is_offscreen| is true, renders to an
|
| // offscreen context. |attrib_list| must be NULL or a NONE-terminated list
|
| // of attribute/value pairs.
|
| - // If |surface| is not NULL, then it must match |is_offscreen|,
|
| + // If |surface| is not NULL, then it must match |is_offscreen| and |size|,
|
| // |window| must be gfx::kNullAcceleratedWidget, and the command buffer
|
| // service must run on the same thread as this client because GLSurface is
|
| // not thread safe. If |surface| is NULL, then the other parameters are used
|
| @@ -51,8 +51,10 @@
|
| scoped_refptr<gl::GLSurface> surface,
|
| bool is_offscreen,
|
| gfx::AcceleratedWidget window,
|
| + const gfx::Size& size,
|
| GLInProcessContext* share_context,
|
| const gpu::gles2::ContextCreationAttribHelper& attribs,
|
| + gl::GpuPreference gpu_preference,
|
| const SharedMemoryLimits& memory_limits,
|
| GpuMemoryBufferManager* gpu_memory_buffer_manager,
|
| ImageFactory* image_factory);
|
|
|