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

Unified Diff: gpu/command_buffer/common/value_state.h

Issue 634313002: Add mouse input forwarding to gpu service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: brianderson@ review 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: gpu/command_buffer/common/value_state.h
diff --git a/gpu/command_buffer/common/value_state.h b/gpu/command_buffer/common/value_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..b095cd071f124b9d7635bf1b1c0ceae4687615b6
--- /dev/null
+++ b/gpu/command_buffer/common/value_state.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef GPU_COMMAND_BUFFER_COMMON_VALUE_STATE_H_
+#define GPU_COMMAND_BUFFER_COMMON_VALUE_STATE_H_
+
+#include "gpu/gpu_export.h"
+
+// From gl2/gl2ext.h.
+#ifndef GL_MOUSE_POSITION_CHROMIUM
+#define GL_MOUSE_POSITION_CHROMIUM 0x924C
+#endif
piman 2014/11/21 19:48:51 Why do you need this here?
orglofch 2014/11/21 22:04:12 I had thought there was dependency preventing gl2e
+
+namespace gpu {
+
+// Used to maintain Valuebuffer state, exposed to browser to
+// support passing ValueStates via IPC.
+union GPU_EXPORT ValueState {
+ float float_value[4];
+ int int_value[4];
+};
+
+} // namespace gpu
+
+#endif // GPU_COMMAND_BUFFER_COMMON_VALUE_STATE_H_

Powered by Google App Engine
This is Rietveld 408576698