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

Unified Diff: services/gles2/gpu_state.cc

Issue 1348283004: Use MailboxManagerSync on android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add todo comment 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
« no previous file with comments | « services/gles2/gpu_state.h ('k') | services/gles2/mailbox_manager_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gles2/gpu_state.cc
diff --git a/services/gles2/gpu_state.cc b/services/gles2/gpu_state.cc
index 47439fe451415a62fbba34f056f07d423ba82300..911477114cea8a9dc0b48a6fb7a654ccf5c386f8 100644
--- a/services/gles2/gpu_state.cc
+++ b/services/gles2/gpu_state.cc
@@ -5,13 +5,15 @@
#include "services/gles2/gpu_state.h"
+#include "services/gles2/mailbox_manager_factory.h"
+
namespace gles2 {
GpuState::GpuState()
: control_thread_("gpu_command_buffer_control"),
sync_point_manager_(gpu::SyncPointManager::Create(true)),
share_group_(new gfx::GLShareGroup),
- mailbox_manager_(new gpu::gles2::MailboxManagerImpl) {
+ mailbox_manager_(MailboxManagerFactory::Create()) {
control_thread_.Start();
}
« no previous file with comments | « services/gles2/gpu_state.h ('k') | services/gles2/mailbox_manager_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698