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

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: 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') | no next file » | 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..403e6a61c840ebc6fed45263413f397d8caed869 100644
--- a/services/gles2/gpu_state.cc
+++ b/services/gles2/gpu_state.cc
@@ -5,13 +5,18 @@
#include "services/gles2/gpu_state.h"
+#include "gpu/command_buffer/service/mailbox_manager_impl.h"
+#include "gpu/command_buffer/service/mailbox_manager_sync.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) {
+ // TODO: use Impl on linux, Sync on android
+ // mailbox_manager_(new gpu::gles2::MailboxManagerImpl) {
jamesr 2015/09/17 22:23:13 can you just leave a todo and not the commented-ou
cdotstout 2015/09/17 22:31:09 Yes, Linux fails with MailboxManagerSync. If th
+ mailbox_manager_(new gpu::gles2::MailboxManagerSync) {
control_thread_.Start();
}
« no previous file with comments | « services/gles2/gpu_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698