OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines constants and functions for the Pepper gles2 command | 5 // This file defines constants and functions for the Pepper gles2 command |
6 // buffers that fall outside the scope of OpenGL ES 2.0 | 6 // buffers that fall outside the scope of OpenGL ES 2.0 |
7 | 7 |
8 #ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_ | 8 #ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_ |
9 #define GPU_GLES2_GLES2_COMMAND_BUFFER_H_ | 9 #define GPU_GLES2_GLES2_COMMAND_BUFFER_H_ |
10 | 10 |
11 // constants for CommandBufferEnable command. | 11 // constants for CommandBufferEnable command. |
12 #define GLES2_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS 0x0001 | 12 #define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \ |
| 13 "pepper3d_allow_buffers_on_multiple_targets" |
| 14 // TODO(gman): remove this |
| 15 #define PEPPER3D_SKIP_GLSL_TRANSLATION \ |
| 16 "pepper3d_skip_glsl_translation" |
13 | 17 |
14 #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_ | 18 #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_ |
15 | 19 |
16 | 20 |
17 | 21 |
18 | 22 |
OLD | NEW |