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

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: Add Security Test Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 0d8538f4889b72d4d094c5923b08417502cfcdcf..6e2eaa6dff620775f291b9d28782647d654010c1 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;
+namespace gles2 {
+class ValuebufferManager;
+}
}
namespace IPC {
@@ -145,6 +149,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::gles2::ValuebufferManager* valuebuffer_manager() const {
+ return valuebuffer_manager_.get();
+ }
+
private:
friend class GpuChannelMessageFilter;
@@ -201,6 +213,8 @@ class GpuChannel : public IPC::Listener, public IPC::Sender {
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
+ scoped_refptr<gpu::gles2::ValuebufferManager> valuebuffer_manager_;
piman 2014/11/26 20:47:09 I don't think you can share the whole ValuebufferM
orglofch 2014/12/01 01:54:29 Done.
+
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
StubMap stubs_;

Powered by Google App Engine
This is Rietveld 408576698