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 // This file contains Chromium-specific GLES2 extensions declarations. | 5 // This file contains Chromium-specific GLES2 extensions declarations. |
6 | 6 |
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ | 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ |
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ | 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ |
9 | 9 |
10 #include <GLES2/gl2.h> | 10 #include <GLES2/gl2.h> |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 /* GL_CHROMIUM_command_buffer_latency_query */ | 514 /* GL_CHROMIUM_command_buffer_latency_query */ |
515 #ifndef GL_CHROMIUM_command_buffer_latency_query | 515 #ifndef GL_CHROMIUM_command_buffer_latency_query |
516 #define GL_CHROMIUM_command_buffer_latency_query 1 | 516 #define GL_CHROMIUM_command_buffer_latency_query 1 |
517 | 517 |
518 #ifndef GL_LATENCY_QUERY_CHROMIUM | 518 #ifndef GL_LATENCY_QUERY_CHROMIUM |
519 // TODO(gman): Get official numbers for these constants. | 519 // TODO(gman): Get official numbers for these constants. |
520 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 | 520 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 |
521 #endif | 521 #endif |
522 #endif /* GL_CHROMIUM_command_buffer_latency_query */ | 522 #endif /* GL_CHROMIUM_command_buffer_latency_query */ |
523 | 523 |
| 524 /* GL_CHROMIUM_screen_space_antialiasing */ |
| 525 #ifndef GL_CHROMIUM_screen_space_antialiasing |
| 526 #define GL_CHROMIUM_screen_space_antialiasing 1 |
| 527 #ifdef GL_GLEXT_PROTOTYPES |
| 528 GL_APICALL void GL_APIENTRY glApplyScreenSpaceAntialiasingCHROMIUM(); |
| 529 #endif |
| 530 typedef void(GL_APIENTRYP PFNGLAPPLYSCREENSPACEANTIALIASINGCHROMIUMPROC)(); |
| 531 #endif /* GL_CHROMIUM_screen_space_antialiasing */ |
| 532 |
524 /* GL_ARB_robustness */ | 533 /* GL_ARB_robustness */ |
525 #ifndef GL_ARB_robustness | 534 #ifndef GL_ARB_robustness |
526 #define GL_ARB_robustness 1 | 535 #define GL_ARB_robustness 1 |
527 | 536 |
528 #ifndef GL_GUILTY_CONTEXT_RESET_ARB | 537 #ifndef GL_GUILTY_CONTEXT_RESET_ARB |
529 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 | 538 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 |
530 #endif | 539 #endif |
531 | 540 |
532 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB | 541 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB |
533 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 | 542 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 | 994 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 |
986 #endif | 995 #endif |
987 | 996 |
988 #endif /* GL_CHROMIUM_path_rendering */ | 997 #endif /* GL_CHROMIUM_path_rendering */ |
989 | 998 |
990 #ifdef __cplusplus | 999 #ifdef __cplusplus |
991 } | 1000 } |
992 #endif | 1001 #endif |
993 | 1002 |
994 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 1003 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |