Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 1298523003: Add GL_CHROMIUM_screen_space_antialiasing to support alternative AA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add extension Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 /* GL_CHROMIUM_command_buffer_latency_query */ 513 /* GL_CHROMIUM_command_buffer_latency_query */
514 #ifndef GL_CHROMIUM_command_buffer_latency_query 514 #ifndef GL_CHROMIUM_command_buffer_latency_query
515 #define GL_CHROMIUM_command_buffer_latency_query 1 515 #define GL_CHROMIUM_command_buffer_latency_query 1
516 516
517 #ifndef GL_LATENCY_QUERY_CHROMIUM 517 #ifndef GL_LATENCY_QUERY_CHROMIUM
518 // TODO(gman): Get official numbers for these constants. 518 // TODO(gman): Get official numbers for these constants.
519 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 519 #define GL_LATENCY_QUERY_CHROMIUM 0x6007
520 #endif 520 #endif
521 #endif /* GL_CHROMIUM_command_buffer_latency_query */ 521 #endif /* GL_CHROMIUM_command_buffer_latency_query */
522 522
523 /* GL_CHROMIUM_screen_space_antialiasing */
524 #ifndef GL_CHROMIUM_screen_space_antialiasing
525 #define GL_CHROMIUM_screen_space_antialiasing 1
526 #ifdef GL_GLEXT_PROTOTYPES
527 GL_APICALL void GL_APIENTRY glApplyScreenSpaceAntialiasing();
Ken Russell (switch to Gerrit) 2015/08/28 02:34:02 Should be glApplyScreenSpaceAntialiasingCHROMIUM.
528 #endif
529 typedef void (GL_APIENTRYP PFNGLAPPLYSCREENSPACEANTIALIASINGPROC) ();
Ken Russell (switch to Gerrit) 2015/08/28 02:34:03 Should be PFNGLAPPLYSCREENSPACEANTIALIASINGCHROMIU
530 #endif /* GL_CHROMIUM_screen_space_antialiasing */
531
532
523 /* GL_ARB_robustness */ 533 /* GL_ARB_robustness */
524 #ifndef GL_ARB_robustness 534 #ifndef GL_ARB_robustness
525 #define GL_ARB_robustness 1 535 #define GL_ARB_robustness 1
526 536
527 #ifndef GL_GUILTY_CONTEXT_RESET_ARB 537 #ifndef GL_GUILTY_CONTEXT_RESET_ARB
528 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 538 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
529 #endif 539 #endif
530 540
531 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB 541 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB
532 #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
984 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 994 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
985 #endif 995 #endif
986 996
987 #endif /* GL_CHROMIUM_path_rendering */ 997 #endif /* GL_CHROMIUM_path_rendering */
988 998
989 #ifdef __cplusplus 999 #ifdef __cplusplus
990 } 1000 }
991 #endif 1001 #endif
992 1002
993 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1003 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698