| Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| ===================================================================
|
| --- webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (revision 113511)
|
| +++ webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (working copy)
|
| @@ -86,7 +86,6 @@
|
| ~GLInProcessContext();
|
|
|
| void PumpCommands();
|
| - bool GetBufferChanged(int32 transfer_buffer_id);
|
|
|
| // Create a GLInProcessContext that renders directly to a view. The view and
|
| // the associated window must not be destroyed until the returned
|
| @@ -312,10 +311,6 @@
|
| CHECK(state.error == ::gpu::error::kNoError);
|
| }
|
|
|
| -bool GLInProcessContext::GetBufferChanged(int32 transfer_buffer_id) {
|
| - return gpu_scheduler_->SetGetBuffer(transfer_buffer_id);
|
| -}
|
| -
|
| uint32 GLInProcessContext::GetParentTextureId() {
|
| return parent_texture_id_;
|
| }
|
| @@ -462,7 +457,7 @@
|
| }
|
|
|
| command_buffer_.reset(new CommandBufferService);
|
| - if (!command_buffer_->Initialize()) {
|
| + if (!command_buffer_->Initialize(kCommandBufferSize)) {
|
| LOG(ERROR) << "Could not initialize command buffer.";
|
| Destroy();
|
| return false;
|
| @@ -528,9 +523,6 @@
|
|
|
| command_buffer_->SetPutOffsetChangeCallback(
|
| base::Bind(&GLInProcessContext::PumpCommands, base::Unretained(this)));
|
| - command_buffer_->SetGetBufferChangeCallback(
|
| - base::Bind(
|
| - &GLInProcessContext::GetBufferChanged, base::Unretained(this)));
|
|
|
| // Create the GLES2 helper, which writes the command buffer protocol.
|
| gles2_helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
|
|
|