| Index: content/common/gpu/client/gpu_channel_host.h
|
| diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
|
| index 81ddbffbcdbb529e38745623d111bde49e0a329e..fe36b6a93b7c545c256cbfa8d26f7c4819174532 100644
|
| --- a/content/common/gpu/client/gpu_channel_host.h
|
| +++ b/content/common/gpu/client/gpu_channel_host.h
|
| @@ -90,6 +90,9 @@ class CONTENT_EXPORT GpuChannelHostFactory
|
| int32 surface_id,
|
| const GPUCreateCommandBufferConfig& init_params,
|
| int32 route_id) = 0;
|
| + virtual bool CreateStreamTexture(int32 image_id,
|
| + int32 route_id,
|
| + int32 stream_id) = 0;
|
| };
|
|
|
| // Encapsulates an IPC channel between the client and one GPU process.
|
| @@ -194,6 +197,8 @@ class GpuChannelHost : public IPC::Sender,
|
| // Generate a route ID guaranteed to be unique for this channel.
|
| int32 GenerateRouteID();
|
|
|
| + unsigned CreateStreamTexture(int32 image_id);
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<GpuChannelHost>;
|
| GpuChannelHost(GpuChannelHostFactory* factory,
|
| @@ -278,6 +283,8 @@ class GpuChannelHost : public IPC::Sender,
|
| ProxyMap proxies_;
|
| ProxyFlushInfo flush_info_;
|
|
|
| + int command_buffer_routing_id_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
|
| };
|
|
|
|
|