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.h

Issue 2493913002: Mus: Move InProcessCommandBuffer and GLInProcessContext to gpu/ipc (Closed)
Patch Set: Fixed casts on windows 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
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 #ifndef ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_
6 #define ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <queue> 11 #include <queue>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/lazy_instance.h" 14 #include "base/lazy_instance.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/threading/thread_local.h" 17 #include "base/threading/thread_local.h"
18 #include "base/time/time.h" 18 #include "base/time/time.h"
19 #include "gpu/command_buffer/service/in_process_command_buffer.h" 19 #include "gpu/ipc/in_process_command_buffer.h"
20 20
21 namespace gpu { 21 namespace gpu {
22 class SyncPointManager; 22 class SyncPointManager;
23 } 23 }
24 24
25 namespace android_webview { 25 namespace android_webview {
26 26
27 class ScopedAllowGL { 27 class ScopedAllowGL {
28 public: 28 public:
29 ScopedAllowGL(); 29 ScopedAllowGL();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 std::unique_ptr<gpu::SyncPointManager> sync_point_manager_; 82 std::unique_ptr<gpu::SyncPointManager> sync_point_manager_;
83 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; 83 scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_;
84 scoped_refptr<gpu::gles2::FramebufferCompletenessCache> 84 scoped_refptr<gpu::gles2::FramebufferCompletenessCache>
85 framebuffer_completeness_cache_; 85 framebuffer_completeness_cache_;
86 DISALLOW_COPY_AND_ASSIGN(DeferredGpuCommandService); 86 DISALLOW_COPY_AND_ASSIGN(DeferredGpuCommandService);
87 }; 87 };
88 88
89 } // namespace android_webview 89 } // namespace android_webview
90 90
91 #endif // ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_ 91 #endif // ANDROID_WEBVIEW_BROWSER_DEFERRED_GPU_COMMAND_SERVICE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_render_thread_context_provider.cc ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698