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 #include "android_webview/browser/deferred_gpu_command_service.h" | 5 #include "android_webview/browser/deferred_gpu_command_service.h" |
6 | 6 |
7 #include "android_webview/browser/gl_view_renderer_manager.h" | 7 #include "android_webview/browser/gl_view_renderer_manager.h" |
8 #include "android_webview/browser/render_thread_manager.h" | 8 #include "android_webview/browser/render_thread_manager.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 } | 202 } |
203 | 203 |
204 void DeferredGpuCommandService::AddRef() const { | 204 void DeferredGpuCommandService::AddRef() const { |
205 base::RefCountedThreadSafe<DeferredGpuCommandService>::AddRef(); | 205 base::RefCountedThreadSafe<DeferredGpuCommandService>::AddRef(); |
206 } | 206 } |
207 | 207 |
208 void DeferredGpuCommandService::Release() const { | 208 void DeferredGpuCommandService::Release() const { |
209 base::RefCountedThreadSafe<DeferredGpuCommandService>::Release(); | 209 base::RefCountedThreadSafe<DeferredGpuCommandService>::Release(); |
210 } | 210 } |
211 | 211 |
| 212 bool DeferredGpuCommandService::BlockThreadOnWaitSyncToken() const { |
| 213 return true; |
| 214 } |
| 215 |
212 } // namespace android_webview | 216 } // namespace android_webview |
OLD | NEW |