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

Unified Diff: gpu/command_buffer/service/gpu_control_service.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/gpu_control_service.cc
diff --git a/gpu/command_buffer/service/gpu_control_service.cc b/gpu/command_buffer/service/gpu_control_service.cc
index 9a198e6b54cf8452790a900c94e631aab3037732..893b872c0c7cab8c6438cb458fd7081d5516a982 100644
--- a/gpu/command_buffer/service/gpu_control_service.cc
+++ b/gpu/command_buffer/service/gpu_control_service.cc
@@ -123,13 +123,4 @@ bool GpuControlService::RegisterGpuMemoryBuffer(
internalformat);
}
-bool GpuControlService::GenerateMailboxNames(
- unsigned num, std::vector<gpu::Mailbox>* names) {
- DCHECK(names->empty());
- names->resize(num);
- for (unsigned i = 0; i < num; ++i)
- mailbox_manager_->GenerateMailbox(&(*names)[i]);
- return true;
-}
-
} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698