OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_GL_GL_BINDINGS_H_ | 5 #ifndef UI_GL_GL_BINDINGS_H_ |
6 #define UI_GL_GL_BINDINGS_H_ | 6 #define UI_GL_GL_BINDINGS_H_ |
7 | 7 |
8 // Includes the platform independent and platform dependent GL headers. | 8 // Includes the platform independent and platform dependent GL headers. |
9 // Only include this in cc files. It pulls in system headers, including | 9 // Only include this in cc files. It pulls in system headers, including |
10 // the X11 headers on linux, which define all kinds of macros that are | 10 // the X11 headers on linux, which define all kinds of macros that are |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 // GL_ANGLE_translated_shader_source | 68 // GL_ANGLE_translated_shader_source |
69 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 | 69 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 |
70 | 70 |
71 // GL_CHROMIUM_flipy | 71 // GL_CHROMIUM_flipy |
72 #define GL_UNPACK_FLIP_Y_CHROMIUM 0x9240 | 72 #define GL_UNPACK_FLIP_Y_CHROMIUM 0x9240 |
73 | 73 |
74 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 | 74 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 |
75 #define GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM 0x9242 | 75 #define GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM 0x9242 |
76 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 | 76 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 |
| 77 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244 |
77 | 78 |
78 // GL_CHROMIUM_gpu_memory_manager | 79 // GL_CHROMIUM_gpu_memory_manager |
79 #define GL_TEXTURE_POOL_CHROMIUM 0x6000 | 80 #define GL_TEXTURE_POOL_CHROMIUM 0x6000 |
80 #define GL_TEXTURE_POOL_MANAGED_CHROMIUM 0x6001 | 81 #define GL_TEXTURE_POOL_MANAGED_CHROMIUM 0x6001 |
81 #define GL_TEXTURE_POOL_UNMANAGED_CHROMIUM 0x6002 | 82 #define GL_TEXTURE_POOL_UNMANAGED_CHROMIUM 0x6002 |
82 | 83 |
83 // GL_ANGLE_pack_reverse_row_order | 84 // GL_ANGLE_pack_reverse_row_order |
84 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 | 85 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 |
85 | 86 |
86 // GL_ANGLE_texture_usage | 87 // GL_ANGLE_texture_usage |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 #elif defined(OS_ANDROID) | 325 #elif defined(OS_ANDROID) |
325 | 326 |
326 GL_EXPORT extern EGLApi* g_current_egl_context; | 327 GL_EXPORT extern EGLApi* g_current_egl_context; |
327 GL_EXPORT extern DriverEGL g_driver_egl; | 328 GL_EXPORT extern DriverEGL g_driver_egl; |
328 | 329 |
329 #endif | 330 #endif |
330 | 331 |
331 } // namespace gfx | 332 } // namespace gfx |
332 | 333 |
333 #endif // UI_GL_GL_BINDINGS_H_ | 334 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |