Index: gpu/command_buffer/client/gles2_cmd_helper.h |
diff --git a/gpu/command_buffer/client/gles2_cmd_helper.h b/gpu/command_buffer/client/gles2_cmd_helper.h |
index 72fae315b34cea442b1b1e4e24e4f4872072bf05..79ff74c64e75d075b89315e997d9ce4acd5586c3 100644 |
--- a/gpu/command_buffer/client/gles2_cmd_helper.h |
+++ b/gpu/command_buffer/client/gles2_cmd_helper.h |
@@ -70,6 +70,16 @@ class GPU_EXPORT GLES2CmdHelper : public CommandBufferHelper { |
} |
} |
+ void GetCreateAndConsumeTextureCHROMIUMBucket( |
+ GLuint program, uint32 name_bucket_id, |
+ uint32 location_shm_id, uint32 location_shm_offset) { |
+ gles2::cmds::GetUniformLocationBucket* c = |
+ GetCmdSpace<gles2::cmds::GetUniformLocationBucket>(); |
+ if (c) { |
+ c->Init(program, name_bucket_id, location_shm_id, location_shm_offset); |
+ } |
+ } |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(GLES2CmdHelper); |
}; |