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

Side by Side Diff: android_webview/browser/deferred_gpu_command_service.cc

Issue 2498053004: Add InProcessContextProvider and update InProcessCommandBuffer (Closed)
Patch Set: Revert experiments and fix android_webview Created 4 years, 1 month 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 | « android_webview/browser/deferred_gpu_command_service.h ('k') | blimp/client/app/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 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
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
OLDNEW
« no previous file with comments | « android_webview/browser/deferred_gpu_command_service.h ('k') | blimp/client/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698