Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef GPU_COMMAND_BUFFER_COMMON_VALUE_STATE_H_ | |
| 6 #define GPU_COMMAND_BUFFER_COMMON_VALUE_STATE_H_ | |
| 7 | |
| 8 #include "gpu/gpu_export.h" | |
| 9 | |
| 10 // From gl2/gl2ext.h. | |
| 11 #ifndef GL_MOUSE_POSITION_CHROMIUM | |
| 12 #define GL_MOUSE_POSITION_CHROMIUM 0x924C | |
| 13 #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
| |
| 14 | |
| 15 namespace gpu { | |
| 16 | |
| 17 // Used to maintain Valuebuffer state, exposed to browser to | |
| 18 // support passing ValueStates via IPC. | |
| 19 union GPU_EXPORT ValueState { | |
| 20 float float_value[4]; | |
| 21 int int_value[4]; | |
| 22 }; | |
| 23 | |
| 24 } // namespace gpu | |
| 25 | |
| 26 #endif // GPU_COMMAND_BUFFER_COMMON_VALUE_STATE_H_ | |
| OLD | NEW |