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

Unified Diff: content/common/gpu/gpu_channel.h

Issue 634313002: Add mouse input forwarding to gpu service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test race Created 6 years 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 73ed31288a01cbecc35ea3a8215579b0cbeadfdb..6b707289cc55df3a924f66619667f332ceeb7966 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -34,6 +34,10 @@ class WaitableEvent;
namespace gpu {
class PreemptionFlag;
+union ValueState;
+class ValueStateMap;
+namespace gles2 {
+}
}
namespace IPC {
@@ -151,6 +155,14 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
bool allow_future_sync_points() const { return allow_future_sync_points_; }
+ void HandleUpdateValueState(unsigned int target,
+ const gpu::ValueState& state);
+
+ // Visible for testing.
+ const gpu::ValueStateMap* pending_valuebuffer_state() const {
+ return pending_valuebuffer_state_.get();
+ }
+
private:
friend class GpuChannelMessageFilter;
@@ -207,6 +219,8 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
+ scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_;
+
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
StubMap stubs_;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698