| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // This file defines constants and functions for the Pepper gles2 command | |
| 6 // buffers that fall outside the scope of OpenGL ES 2.0 | |
| 7 | |
| 8 #ifndef GPU_GLES2_GLES2_COMMAND_BUFFER_H_ | |
| 9 #define GPU_GLES2_GLES2_COMMAND_BUFFER_H_ | |
| 10 | |
| 11 // constants for CommandBufferEnableCHROMIUM command. | |
| 12 #define PEPPER3D_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS \ | |
| 13 "pepper3d_allow_buffers_on_multiple_targets" | |
| 14 #define PEPPER3D_SUPPORT_FIXED_ATTRIBS \ | |
| 15 "pepper3d_support_fixed_attribs" | |
| 16 // TODO(gman): remove this | |
| 17 #define PEPPER3D_SKIP_GLSL_TRANSLATION \ | |
| 18 "pepper3d_skip_glsl_translation" | |
| 19 | |
| 20 // TODO(gman): move this somewhere else. | |
| 21 #ifndef GL_READ_ONLY | |
| 22 #define GL_READ_ONLY 0x88B8 | |
| 23 #endif | |
| 24 #ifndef GL_WRITE_ONLY | |
| 25 #define GL_WRITE_ONLY 0x88B9 | |
| 26 #endif | |
| 27 #ifndef GL_BGRA_EXT | |
| 28 #define GL_BGRA_EXT 0x80E1 | |
| 29 #endif | |
| 30 #ifndef GL_HALF_FLOAT_OES | |
| 31 #define GL_HALF_FLOAT_OES 0x8D61 | |
| 32 #endif | |
| 33 | |
| 34 #endif // GPU_GLES2_GLES2_COMMAND_BUFFER_H_ | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| OLD | NEW |