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 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 | 67 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 |
68 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 | 68 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 |
69 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 | 69 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 |
70 | 70 |
71 // GL_ANGLE_translated_shader_source | 71 // GL_ANGLE_translated_shader_source |
72 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 | 72 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 |
73 | 73 |
74 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 | 74 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 |
75 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244 | 75 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244 |
76 | 76 |
77 // GL_ANGLE_pack_reverse_row_order | |
78 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 | |
79 | |
80 // GL_ANGLE_texture_usage | 77 // GL_ANGLE_texture_usage |
81 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 | 78 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 |
82 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 | 79 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 |
83 | 80 |
84 // GL_EXT_texture_storage | 81 // GL_EXT_texture_storage |
85 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F | 82 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F |
86 #define GL_ALPHA8_EXT 0x803C | 83 #define GL_ALPHA8_EXT 0x803C |
87 #define GL_LUMINANCE8_EXT 0x8040 | 84 #define GL_LUMINANCE8_EXT 0x8040 |
88 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 | 85 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 |
89 #define GL_RGBA32F_EXT 0x8814 | 86 #define GL_RGBA32F_EXT 0x8814 |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 #elif defined(OS_ANDROID) | 498 #elif defined(OS_ANDROID) |
502 | 499 |
503 GL_EXPORT extern EGLApi* g_current_egl_context; | 500 GL_EXPORT extern EGLApi* g_current_egl_context; |
504 GL_EXPORT extern DriverEGL g_driver_egl; | 501 GL_EXPORT extern DriverEGL g_driver_egl; |
505 | 502 |
506 #endif | 503 #endif |
507 | 504 |
508 } // namespace gfx | 505 } // namespace gfx |
509 | 506 |
510 #endif // UI_GL_GL_BINDINGS_H_ | 507 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |