| Index: gpu/command_buffer/client/share_group.h
|
| diff --git a/gpu/command_buffer/client/share_group.h b/gpu/command_buffer/client/share_group.h
|
| index c66704b7fd6736679f20be67b574e7be8d589b72..09d960b02809f3c4dca2fd2f94d33e621a3fbb1e 100644
|
| --- a/gpu/command_buffer/client/share_group.h
|
| +++ b/gpu/command_buffer/client/share_group.h
|
| @@ -19,6 +19,7 @@ class GLES2ImplementationTest;
|
| class ProgramInfoManager;
|
|
|
| typedef void (GLES2Implementation::*DeleteFn)(GLsizei n, const GLuint* ids);
|
| +typedef void (GLES2Implementation::*BindFn)(GLenum target, GLuint id);
|
|
|
| class ShareGroupContextData {
|
| public:
|
| @@ -55,7 +56,11 @@ class IdHandlerInterface {
|
| DeleteFn delete_fn) = 0;
|
|
|
| // Marks an id as used for glBind functions. id = 0 does nothing.
|
| - virtual bool MarkAsUsedForBind(GLuint id) = 0;
|
| + virtual bool MarkAsUsedForBind(
|
| + GLES2Implementation* gl_impl,
|
| + GLenum target,
|
| + GLuint id,
|
| + BindFn bind_fn) = 0;
|
|
|
| // Called when a context in the share group is destructed.
|
| virtual void FreeContext(GLES2Implementation* gl_impl) = 0;
|
|
|