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