cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / view_manager / gles2 / gpu_state.cc
bloba3570c64d7e4cca51245d8a772ba672a46fb8a42
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
3 // found in the LICENSE file.
4 //
6 #include "components/view_manager/gles2/gpu_state.h"
8 namespace gles2 {
10 GpuState::GpuState()
11 : control_thread_("gpu_command_buffer_control"),
12 sync_point_manager_(new gpu::SyncPointManager(true)),
13 share_group_(new gfx::GLShareGroup),
14 mailbox_manager_(new gpu::gles2::MailboxManagerImpl) {
15 control_thread_.Start();
18 GpuState::~GpuState() {
21 void GpuState::StopControlThread() {
22 control_thread_.Stop();
25 } // namespace gles2