| 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 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 Loading... |
| 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_ |
| OLD | NEW |