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

Unified Diff: gpu/command_buffer/service/mailbox_manager.cc

Issue 165393003: gpu: Generate mailboxes on client side (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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
Index: gpu/command_buffer/service/mailbox_manager.cc
diff --git a/gpu/command_buffer/service/mailbox_manager.cc b/gpu/command_buffer/service/mailbox_manager.cc
index e2fb86f85ad47914831274c1ce396d5760cb2b0e..c337b483929bb7dea5f70ec13ba98c382afcbe37 100644
--- a/gpu/command_buffer/service/mailbox_manager.cc
+++ b/gpu/command_buffer/service/mailbox_manager.cc
@@ -21,10 +21,6 @@ MailboxManager::~MailboxManager() {
DCHECK(textures_to_mailboxes_.empty());
}
-void MailboxManager::GenerateMailbox(Mailbox* mailbox) {
- crypto::RandBytes(mailbox->name, sizeof(mailbox->name));
-}
-
Texture* MailboxManager::ConsumeTexture(unsigned target,
const Mailbox& mailbox) {
MailboxToTextureMap::iterator it =

Powered by Google App Engine
This is Rietveld 408576698