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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.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
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy_impl.h
===================================================================
--- content/common/gpu/client/command_buffer_proxy_impl.h (revision 166046)
+++ content/common/gpu/client/command_buffer_proxy_impl.h (working copy)
@@ -110,6 +110,12 @@
bool SignalSyncPoint(uint32 sync_point,
const base::Closure& callback);
+ // 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);
+
// Set a task that will be invoked the next time the window becomes invalid
// and needs to be repainted. Takes ownership of task.
void SetNotifyRepaintTask(const base::Closure& callback);
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698