Index: android_webview/browser/deferred_gpu_command_service.h |
diff --git a/android_webview/browser/deferred_gpu_command_service.h b/android_webview/browser/deferred_gpu_command_service.h |
index 0b092ed1cc4860f00ff306909109dc868fddc83c..81244dd5c79b6b3916dee4f8b4a316a8e25f913d 100644 |
--- a/android_webview/browser/deferred_gpu_command_service.h |
+++ b/android_webview/browser/deferred_gpu_command_service.h |
@@ -10,10 +10,15 @@ |
#include "base/lazy_instance.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/threading/thread_local.h" |
#include "base/time/time.h" |
#include "gpu/command_buffer/service/in_process_command_buffer.h" |
+namespace gpu { |
+class SyncPointManager; |
+} |
+ |
namespace android_webview { |
class ScopedAllowGL { |
@@ -41,6 +46,7 @@ class DeferredGpuCommandService |
bool UseVirtualizedGLContexts() override; |
scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache() |
override; |
+ gpu::SyncPointManager* sync_point_manager() override; |
void RunTasks(); |
// If |is_idle| is false, this will only run older idle tasks. |
@@ -68,6 +74,7 @@ class DeferredGpuCommandService |
std::queue<base::Closure> tasks_; |
std::queue<std::pair<base::Time, base::Closure> > idle_tasks_; |
+ scoped_ptr<gpu::SyncPointManager> sync_point_manager_; |
scoped_refptr<gpu::gles2::ShaderTranslatorCache> shader_translator_cache_; |
DISALLOW_COPY_AND_ASSIGN(DeferredGpuCommandService); |
}; |