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

Side by Side Diff: services/ui/gles2/raster_thread_helper.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/gles2/raster_thread_helper.h ('k') | services/ui/gpu/BUILD.gn » ('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 #include "components/mus/gles2/raster_thread_helper.h" 5 #include "services/ui/gles2/raster_thread_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/threading/simple_thread.h" 8 #include "base/threading/simple_thread.h"
9 #include "cc/raster/single_thread_task_graph_runner.h" 9 #include "cc/raster/single_thread_task_graph_runner.h"
10 10
11 namespace gles2 { 11 namespace gles2 {
12 12
13 RasterThreadHelper::RasterThreadHelper() 13 RasterThreadHelper::RasterThreadHelper()
14 : task_graph_runner_(new cc::SingleThreadTaskGraphRunner) { 14 : task_graph_runner_(new cc::SingleThreadTaskGraphRunner) {
15 task_graph_runner_->Start("CompositorTileWorker1", 15 task_graph_runner_->Start("CompositorTileWorker1",
16 base::SimpleThread::Options()); 16 base::SimpleThread::Options());
17 } 17 }
18 18
19 RasterThreadHelper::~RasterThreadHelper() { 19 RasterThreadHelper::~RasterThreadHelper() {
20 task_graph_runner_->Shutdown(); 20 task_graph_runner_->Shutdown();
21 } 21 }
22 22
23 cc::TaskGraphRunner* RasterThreadHelper::task_graph_runner() { 23 cc::TaskGraphRunner* RasterThreadHelper::task_graph_runner() {
24 return task_graph_runner_.get(); 24 return task_graph_runner_.get();
25 } 25 }
26 26
27 } // namespace gles2 27 } // namespace gles2
OLDNEW
« no previous file with comments | « services/ui/gles2/raster_thread_helper.h ('k') | services/ui/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698