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

Unified Diff: services/gles2/mailbox_manager_factory_sync.cc

Issue 1348283004: Use MailboxManagerSync on android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: use factory to create appropriate mailbox manager Created 5 years, 3 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: services/gles2/mailbox_manager_factory_sync.cc
diff --git a/services/gles2/mailbox_manager_factory_sync.cc b/services/gles2/mailbox_manager_factory_sync.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c3ec95f8bf2443085fdaa83d56fbdac7ef57bc0b
--- /dev/null
+++ b/services/gles2/mailbox_manager_factory_sync.cc
@@ -0,0 +1,16 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+
+#include "services/gles2/mailbox_manager_factory.h"
+
+#include "gpu/command_buffer/service/mailbox_manager_sync.h"
+
+namespace gles2 {
+
+gpu::gles2::MailboxManager* MailboxManagerFactory::Create() {
+ return new gpu::gles2::MailboxManagerSync;
jamesr 2015/09/18 02:31:35 instead of having separate _sync and _nosync.cc we
cdotstout 2015/09/18 15:51:40 Done.
+}
+
+} // namespace gles2
« services/gles2/BUILD.gn ('K') | « services/gles2/mailbox_manager_factory_nosync.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698