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

Unified Diff: services/gles2/mailbox_manager_factory_nosync.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_nosync.cc
diff --git a/services/gles2/mailbox_manager_factory_nosync.cc b/services/gles2/mailbox_manager_factory_nosync.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7611c1966938fb676ac401bd50c9b54e7b642274
--- /dev/null
+++ b/services/gles2/mailbox_manager_factory_nosync.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_impl.h"
+
+namespace gles2 {
+
+gpu::gles2::MailboxManager* MailboxManagerFactory::Create() {
+ return new gpu::gles2::MailboxManagerImpl;
+}
+
+} // namespace gles2

Powered by Google App Engine
This is Rietveld 408576698