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

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

Issue 11362053: IPC to generate mailbox names on the GPU process IO thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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
Index: content/common/gpu/client/gpu_channel_host.h
===================================================================
--- content/common/gpu/client/gpu_channel_host.h (revision 166046)
+++ content/common/gpu/client/gpu_channel_host.h (working copy)
@@ -152,6 +152,12 @@
base::ProcessId gpu_pid() const { return channel_->peer_pid(); }
int client_id() const { return client_id_; }
+ // Generates n unique mailbox names that can be used with
+ // GL_texture_mailbox_CHROMIUM. Unlike genMailboxCHROMIUM, this IPC is
+ // handled only on the GPU process' IO thread, and so is not effectively
+ // a finish.
+ bool GenerateMailboxNames(unsigned num, std::vector<std::string>* names);
+
private:
friend class base::RefCountedThreadSafe<GpuChannelHost>;
virtual ~GpuChannelHost();
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.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