| Index: content/common/gpu/gpu_channel.cc
|
| diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
|
| index 6078d74fd1aa22938cfd149e16a515de68d68d46..bd2d2d5c0f9ee3edb889dc97f5aa94a3463d6f20 100644
|
| --- a/content/common/gpu/gpu_channel.cc
|
| +++ b/content/common/gpu/gpu_channel.cc
|
| @@ -620,6 +620,16 @@ CreateCommandBufferResult GpuChannel::CreateViewCommandBuffer(
|
| return CREATE_COMMAND_BUFFER_SUCCEEDED;
|
| }
|
|
|
| +bool GpuChannel::CreateStreamTexture(int32 image_id,
|
| + int32 route_id,
|
| + int32 stream_id) {
|
| + GpuCommandBufferStub* stub = LookupCommandBuffer(route_id);
|
| + DCHECK(stub);
|
| + bool success = false;
|
| + stub->CreateStreamTexture(image_id, stream_id, &success);
|
| + return success;
|
| +}
|
| +
|
| GpuCommandBufferStub* GpuChannel::LookupCommandBuffer(int32 route_id) {
|
| return stubs_.Lookup(route_id);
|
| }
|
|
|