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

Side by Side Diff: components/mus/gles2/gpu_state.cc

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 unified diff | Download patch
« no previous file with comments | « components/mus/gles2/gpu_state.h ('k') | components/mus/gles2/mojo_buffer_backing.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 5
6 #include "components/mus/gles2/gpu_state.h" 6 #include "components/mus/gles2/gpu_state.h"
7 7
8 namespace gles2 { 8 namespace mus {
9 9
10 GpuState::GpuState() 10 GpuState::GpuState()
11 : control_thread_("gpu_command_buffer_control"), 11 : control_thread_("gpu_command_buffer_control"),
12 sync_point_manager_(new gpu::SyncPointManager(true)), 12 sync_point_manager_(new gpu::SyncPointManager(true)),
13 share_group_(new gfx::GLShareGroup), 13 share_group_(new gfx::GLShareGroup),
14 mailbox_manager_(new gpu::gles2::MailboxManagerImpl) { 14 mailbox_manager_(new gpu::gles2::MailboxManagerImpl) {
15 control_thread_.Start(); 15 control_thread_.Start();
16 } 16 }
17 17
18 GpuState::~GpuState() {} 18 GpuState::~GpuState() {}
19 19
20 void GpuState::StopControlThread() { 20 void GpuState::StopControlThread() {
21 control_thread_.Stop(); 21 control_thread_.Stop();
22 } 22 }
23 23
24 } // namespace gles2 24 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/gles2/gpu_state.h ('k') | components/mus/gles2/mojo_buffer_backing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698