OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TASK_RUNNER_H_ | 5 #ifndef SERVICES_UI_GLES2_COMMAND_BUFFER_TASK_RUNNER_H_ |
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TASK_RUNNER_H_ | 6 #define SERVICES_UI_GLES2_COMMAND_BUFFER_TASK_RUNNER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/synchronization/condition_variable.h" | 16 #include "base/synchronization/condition_variable.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool need_post_task_; | 68 bool need_post_task_; |
69 | 69 |
70 // The access lock for |driver_map_| and |need_post_task_|. | 70 // The access lock for |driver_map_| and |need_post_task_|. |
71 base::Lock lock_; | 71 base::Lock lock_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(CommandBufferTaskRunner); | 73 DISALLOW_COPY_AND_ASSIGN(CommandBufferTaskRunner); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace mus | 76 } // namespace mus |
77 | 77 |
78 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TASK_RUNNER_H_ | 78 #endif // SERVICES_UI_GLES2_COMMAND_BUFFER_TASK_RUNNER_H_ |
OLD | NEW |