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..e2011fa6e8a56db293a49b4d1176cdc8dde7fe4c |
--- /dev/null |
+++ b/gpu/command_buffer/common/value_state.h |
@@ -0,0 +1,21 @@ |
+// 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" |
+ |
+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_ |