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; |
reveman
2015/06/29 16:02:01
hm, could this be part of the GpuControl interface
sivag
2015/06/30 11:17:17
As of now we have the CreateStreamTextureImage(int
sivag
2015/07/16 14:24:58
Done.
|
}; |
// 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); |
}; |