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

Unified Diff: cc/output/in_process_context_provider.h

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: Plumb through SetLatencyInfo instead of exposing InProcessCommandBuffer. Created 3 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: cc/output/in_process_context_provider.h
diff --git a/cc/output/in_process_context_provider.h b/cc/output/in_process_context_provider.h
index 0a355d28de1f955b2f45e8b65766647bd59e43e6..46b06b52f1835819b56deb6b161b53e328e507d7 100644
--- a/cc/output/in_process_context_provider.h
+++ b/cc/output/in_process_context_provider.h
@@ -44,6 +44,7 @@ class CC_EXPORT InProcessContextProvider
const gpu::SharedMemoryLimits& limits,
InProcessContextProvider* shared_context);
+ // ContextProvider:
bool BindToCurrentThread() override;
gpu::gles2::GLES2Interface* ContextGL() override;
gpu::ContextSupport* ContextSupport() override;
@@ -65,6 +66,8 @@ class CC_EXPORT InProcessContextProvider
const gpu::InProcessCommandBuffer::UpdateVSyncParametersCallback&
callback);
+ void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
+
protected:
friend class base::RefCountedThreadSafe<InProcessContextProvider>;
~InProcessContextProvider() override;
« no previous file with comments | « no previous file | cc/output/in_process_context_provider.cc » ('j') | services/ui/surfaces/display_output_surface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698