| Index: content/common/gpu/gpu_channel.cc
|
| diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
|
| index c89914d46dd6216f686bd03c9575082004dc6bf0..f429d6ddaf880ae8350c92fa625fea25d6821aab 100644
|
| --- a/content/common/gpu/gpu_channel.cc
|
| +++ b/content/common/gpu/gpu_channel.cc
|
| @@ -26,6 +26,7 @@
|
| #include "gpu/command_buffer/service/gpu_scheduler.h"
|
| #include "gpu/command_buffer/service/mailbox_manager_impl.h"
|
| #include "gpu/command_buffer/service/sync_point_manager.h"
|
| +#include "gpu/command_buffer/service/valuebuffer_manager.h"
|
| #include "ipc/ipc_channel.h"
|
| #include "ipc/message_filter.h"
|
| #include "ui/gl/gl_context.h"
|
| @@ -819,4 +820,15 @@ uint64 GpuChannel::GetMemoryUsage() {
|
| return size;
|
| }
|
|
|
| +void GpuChannel::HandleUpdateValueState(
|
| + unsigned int target, const gpu::ValueState& state) {
|
| + for (StubMap::Iterator<GpuCommandBufferStub> it(&stubs_);
|
| + !it.IsAtEnd(); it.Advance()) {
|
| + gpu::gles2::GLES2Decoder* decoder = it.GetCurrentValue()->decoder();
|
| + if (decoder) {
|
| + decoder->GetValuebufferManager()->UpdateValueState(target, state);
|
| + }
|
| + }
|
| +}
|
| +
|
| } // namespace content
|
|
|