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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8 | 266 #define GL_PATH_STENCIL_REF_CHROMIUM 0x90B8 |
267 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 | 267 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 |
268 #endif | 268 #endif |
269 | 269 |
270 #ifndef GL_EXT_multisample_compatibility | 270 #ifndef GL_EXT_multisample_compatibility |
271 #define GL_EXT_multisample_compatibility 1 | 271 #define GL_EXT_multisample_compatibility 1 |
272 #define GL_MULTISAMPLE_EXT 0x809D | 272 #define GL_MULTISAMPLE_EXT 0x809D |
273 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F | 273 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F |
274 #endif /* GL_EXT_multisample_compatibility */ | 274 #endif /* GL_EXT_multisample_compatibility */ |
275 | 275 |
| 276 #ifndef GL_CHROMIUM_framebuffer_mixed_samples |
| 277 #define GL_CHROMIUM_framebuffer_mixed_samples 1 |
| 278 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 |
| 279 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ |
| 280 |
276 #ifndef GL_KHR_blend_equation_advanced | 281 #ifndef GL_KHR_blend_equation_advanced |
277 #define GL_KHR_blend_equation_advanced 1 | 282 #define GL_KHR_blend_equation_advanced 1 |
278 #define GL_COLORBURN_KHR 0x929A | 283 #define GL_COLORBURN_KHR 0x929A |
279 #define GL_COLORDODGE_KHR 0x9299 | 284 #define GL_COLORDODGE_KHR 0x9299 |
280 #define GL_DARKEN_KHR 0x9297 | 285 #define GL_DARKEN_KHR 0x9297 |
281 #define GL_DIFFERENCE_KHR 0x929E | 286 #define GL_DIFFERENCE_KHR 0x929E |
282 #define GL_EXCLUSION_KHR 0x92A0 | 287 #define GL_EXCLUSION_KHR 0x92A0 |
283 #define GL_HARDLIGHT_KHR 0x929B | 288 #define GL_HARDLIGHT_KHR 0x929B |
284 #define GL_HSL_COLOR_KHR 0x92AF | 289 #define GL_HSL_COLOR_KHR 0x92AF |
285 #define GL_HSL_HUE_KHR 0x92AD | 290 #define GL_HSL_HUE_KHR 0x92AD |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 #elif defined(OS_ANDROID) | 500 #elif defined(OS_ANDROID) |
496 | 501 |
497 GL_EXPORT extern EGLApi* g_current_egl_context; | 502 GL_EXPORT extern EGLApi* g_current_egl_context; |
498 GL_EXPORT extern DriverEGL g_driver_egl; | 503 GL_EXPORT extern DriverEGL g_driver_egl; |
499 | 504 |
500 #endif | 505 #endif |
501 | 506 |
502 } // namespace gfx | 507 } // namespace gfx |
503 | 508 |
504 #endif // UI_GL_GL_BINDINGS_H_ | 509 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |