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

Side by Side Diff: third_party/khronos/GLES2/gl2.h

Issue 9150022: Revert r118525 / Re-land r118240 - the build failure was a flake. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/ppapi_proxy.gypi ('k') | third_party/khronos/GLES2/gl2ext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef __gl2_h_ 1 #ifndef __gl2_h_
2 #define __gl2_h_ 2 #define __gl2_h_
3 3
4 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 4 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
5 5
6 #include <GLES2/gl2platform.h> 6 #include <GLES2/gl2platform.h>
7 7
8 /* 8 /*
9 * This document is licensed under the SGI Free Software B License Version 9 * This document is licensed under the SGI Free Software B License Version
10 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 10 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 479
480 #if defined(GLES2_USE_CPP_BINDINGS) 480 #if defined(GLES2_USE_CPP_BINDINGS)
481 #define GLES2_GET_FUN(name) gles2::GetGLContext()->name 481 #define GLES2_GET_FUN(name) gles2::GetGLContext()->name
482 #else 482 #else
483 #define GLES2_GET_FUN(name) GLES2 ## name 483 #define GLES2_GET_FUN(name) GLES2 ## name
484 #endif 484 #endif
485 485
486 /*------------------------------------------------------------------------- 486 /*-------------------------------------------------------------------------
487 * GL core functions. 487 * GL core functions.
488 *-----------------------------------------------------------------------*/ 488 *-----------------------------------------------------------------------*/
489 #undef GL_APICALL
490 #define GL_APICALL
491 #undef GL_APIENTRY 489 #undef GL_APIENTRY
492 #define GL_APIENTRY 490 #define GL_APIENTRY
493 491
494 #define glActiveTexture GLES2_GET_FUN(ActiveTexture) 492 #define glActiveTexture GLES2_GET_FUN(ActiveTexture)
495 #define glAttachShader GLES2_GET_FUN(AttachShader) 493 #define glAttachShader GLES2_GET_FUN(AttachShader)
496 #define glBindAttribLocation GLES2_GET_FUN(BindAttribLocation) 494 #define glBindAttribLocation GLES2_GET_FUN(BindAttribLocation)
497 #define glBindBuffer GLES2_GET_FUN(BindBuffer) 495 #define glBindBuffer GLES2_GET_FUN(BindBuffer)
498 #define glBindFramebuffer GLES2_GET_FUN(BindFramebuffer) 496 #define glBindFramebuffer GLES2_GET_FUN(BindFramebuffer)
499 #define glBindRenderbuffer GLES2_GET_FUN(BindRenderbuffer) 497 #define glBindRenderbuffer GLES2_GET_FUN(BindRenderbuffer)
500 #define glBindTexture GLES2_GET_FUN(BindTexture) 498 #define glBindTexture GLES2_GET_FUN(BindTexture)
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 782 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
785 783
786 #if defined(__cplusplus) 784 #if defined(__cplusplus)
787 } 785 }
788 #endif 786 #endif
789 787
790 #endif // !GLES2_USE_CPP_BINDINGS 788 #endif // !GLES2_USE_CPP_BINDINGS
791 789
792 #endif /* __gl2_h_ */ 790 #endif /* __gl2_h_ */
793 791
OLDNEW
« no previous file with comments | « ppapi/ppapi_proxy.gypi ('k') | third_party/khronos/GLES2/gl2ext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698