| OLD | NEW |
| 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 // | |
| 5 | 4 |
| 6 #include "components/mus/gles2/gpu_state.h" | 5 #include "components/mus/gles2/gpu_state.h" |
| 7 | 6 |
| 8 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 9 #include "gpu/config/gpu_info_collector.h" | 8 #include "gpu/config/gpu_info_collector.h" |
| 10 #include "ui/gl/gl_implementation.h" | 9 #include "ui/gl/gl_implementation.h" |
| 11 | 10 |
| 12 namespace mus { | 11 namespace mus { |
| 13 | 12 |
| 14 GpuState::GpuState(bool hardware_rendering_available) | 13 GpuState::GpuState(bool hardware_rendering_available) |
| (...skipping 20 matching lines...) Expand all Loading... |
| 35 control_thread_.Start(); | 34 control_thread_.Start(); |
| 36 } | 35 } |
| 37 | 36 |
| 38 GpuState::~GpuState() {} | 37 GpuState::~GpuState() {} |
| 39 | 38 |
| 40 void GpuState::StopControlThread() { | 39 void GpuState::StopControlThread() { |
| 41 control_thread_.Stop(); | 40 control_thread_.Stop(); |
| 42 } | 41 } |
| 43 | 42 |
| 44 } // namespace mus | 43 } // namespace mus |
| OLD | NEW |