Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698