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 3 // found in the LICENSE file. 4 5 // This file is auto-generated from 6 // gpu/command_buffer/build_gles2_cmd_buffer.py 7 // DO NOT EDIT! 8 9 // This file contains Chromium-specific GLES2 declarations. 10 11 #ifndef GPU_GLES2_GL2CHROMIUM_AUTOGEN_H_ 12 #define GPU_GLES2_GL2CHROMIUM_AUTOGEN_H_ 13 14 #define glActiveTexture GLES2_GET_FUN(ActiveTexture) 15 #define glAttachShader GLES2_GET_FUN(AttachShader) 16 #define glBindAttribLocation GLES2_GET_FUN(BindAttribLocation) 17 #define glBindBuffer GLES2_GET_FUN(BindBuffer) 18 #define glBindFramebuffer GLES2_GET_FUN(BindFramebuffer) 19 #define glBindRenderbuffer GLES2_GET_FUN(BindRenderbuffer) 20 #define glBindTexture GLES2_GET_FUN(BindTexture) 21 #define glBlendColor GLES2_GET_FUN(BlendColor) 22 #define glBlendEquation GLES2_GET_FUN(BlendEquation) 23 #define glBlendEquationSeparate GLES2_GET_FUN(BlendEquationSeparate) 24 #define glBlendFunc GLES2_GET_FUN(BlendFunc) 25 #define glBlendFuncSeparate GLES2_GET_FUN(BlendFuncSeparate) 26 #define glBufferData GLES2_GET_FUN(BufferData) 27 #define glBufferSubData GLES2_GET_FUN(BufferSubData) 28 #define glCheckFramebufferStatus GLES2_GET_FUN(CheckFramebufferStatus) 29 #define glClear GLES2_GET_FUN(Clear) 30 #define glClearColor GLES2_GET_FUN(ClearColor) 31 #define glClearDepthf GLES2_GET_FUN(ClearDepthf) 32 #define glClearStencil GLES2_GET_FUN(ClearStencil) 33 #define glColorMask GLES2_GET_FUN(ColorMask) 34 #define glCompileShader GLES2_GET_FUN(CompileShader) 35 #define glCompressedTexImage2D GLES2_GET_FUN(CompressedTexImage2D) 36 #define glCompressedTexSubImage2D GLES2_GET_FUN(CompressedTexSubImage2D) 37 #define glCopyTexImage2D GLES2_GET_FUN(CopyTexImage2D) 38 #define glCopyTexSubImage2D GLES2_GET_FUN(CopyTexSubImage2D) 39 #define glCreateProgram GLES2_GET_FUN(CreateProgram) 40 #define glCreateShader GLES2_GET_FUN(CreateShader) 41 #define glCullFace GLES2_GET_FUN(CullFace) 42 #define glDeleteBuffers GLES2_GET_FUN(DeleteBuffers) 43 #define glDeleteFramebuffers GLES2_GET_FUN(DeleteFramebuffers) 44 #define glDeleteProgram GLES2_GET_FUN(DeleteProgram) 45 #define glDeleteRenderbuffers GLES2_GET_FUN(DeleteRenderbuffers) 46 #define glDeleteShader GLES2_GET_FUN(DeleteShader) 47 #define glDeleteTextures GLES2_GET_FUN(DeleteTextures) 48 #define glDepthFunc GLES2_GET_FUN(DepthFunc) 49 #define glDepthMask GLES2_GET_FUN(DepthMask) 50 #define glDepthRangef GLES2_GET_FUN(DepthRangef) 51 #define glDetachShader GLES2_GET_FUN(DetachShader) 52 #define glDisable GLES2_GET_FUN(Disable) 53 #define glDisableVertexAttribArray GLES2_GET_FUN(DisableVertexAttribArray) 54 #define glDrawArrays GLES2_GET_FUN(DrawArrays) 55 #define glDrawElements GLES2_GET_FUN(DrawElements) 56 #define glEnable GLES2_GET_FUN(Enable) 57 #define glEnableVertexAttribArray GLES2_GET_FUN(EnableVertexAttribArray) 58 #define glFinish GLES2_GET_FUN(Finish) 59 #define glFlush GLES2_GET_FUN(Flush) 60 #define glFramebufferRenderbuffer GLES2_GET_FUN(FramebufferRenderbuffer) 61 #define glFramebufferTexture2D GLES2_GET_FUN(FramebufferTexture2D) 62 #define glFrontFace GLES2_GET_FUN(FrontFace) 63 #define glGenBuffers GLES2_GET_FUN(GenBuffers) 64 #define glGenerateMipmap GLES2_GET_FUN(GenerateMipmap) 65 #define glGenFramebuffers GLES2_GET_FUN(GenFramebuffers) 66 #define glGenRenderbuffers GLES2_GET_FUN(GenRenderbuffers) 67 #define glGenTextures GLES2_GET_FUN(GenTextures) 68 #define glGetActiveAttrib GLES2_GET_FUN(GetActiveAttrib) 69 #define glGetActiveUniform GLES2_GET_FUN(GetActiveUniform) 70 #define glGetAttachedShaders GLES2_GET_FUN(GetAttachedShaders) 71 #define glGetAttribLocation GLES2_GET_FUN(GetAttribLocation) 72 #define glGetBooleanv GLES2_GET_FUN(GetBooleanv) 73 #define glGetBufferParameteriv GLES2_GET_FUN(GetBufferParameteriv) 74 #define glGetError GLES2_GET_FUN(GetError) 75 #define glGetFloatv GLES2_GET_FUN(GetFloatv) 76 #define glGetFramebufferAttachmentParameteriv GLES2_GET_FUN( \ 77 GetFramebufferAttachmentParameteriv) 78 #define glGetIntegerv GLES2_GET_FUN(GetIntegerv) 79 #define glGetProgramiv GLES2_GET_FUN(GetProgramiv) 80 #define glGetProgramInfoLog GLES2_GET_FUN(GetProgramInfoLog) 81 #define glGetRenderbufferParameteriv GLES2_GET_FUN(GetRenderbufferParameteriv) 82 #define glGetShaderiv GLES2_GET_FUN(GetShaderiv) 83 #define glGetShaderInfoLog GLES2_GET_FUN(GetShaderInfoLog) 84 #define glGetShaderPrecisionFormat GLES2_GET_FUN(GetShaderPrecisionFormat) 85 #define glGetShaderSource GLES2_GET_FUN(GetShaderSource) 86 #define glGetString GLES2_GET_FUN(GetString) 87 #define glGetTexParameterfv GLES2_GET_FUN(GetTexParameterfv) 88 #define glGetTexParameteriv GLES2_GET_FUN(GetTexParameteriv) 89 #define glGetUniformfv GLES2_GET_FUN(GetUniformfv) 90 #define glGetUniformiv GLES2_GET_FUN(GetUniformiv) 91 #define glGetUniformLocation GLES2_GET_FUN(GetUniformLocation) 92 #define glGetVertexAttribfv GLES2_GET_FUN(GetVertexAttribfv) 93 #define glGetVertexAttribiv GLES2_GET_FUN(GetVertexAttribiv) 94 #define glGetVertexAttribPointerv GLES2_GET_FUN(GetVertexAttribPointerv) 95 #define glHint GLES2_GET_FUN(Hint) 96 #define glIsBuffer GLES2_GET_FUN(IsBuffer) 97 #define glIsEnabled GLES2_GET_FUN(IsEnabled) 98 #define glIsFramebuffer GLES2_GET_FUN(IsFramebuffer) 99 #define glIsProgram GLES2_GET_FUN(IsProgram) 100 #define glIsRenderbuffer GLES2_GET_FUN(IsRenderbuffer) 101 #define glIsShader GLES2_GET_FUN(IsShader) 102 #define glIsTexture GLES2_GET_FUN(IsTexture) 103 #define glLineWidth GLES2_GET_FUN(LineWidth) 104 #define glLinkProgram GLES2_GET_FUN(LinkProgram) 105 #define glPixelStorei GLES2_GET_FUN(PixelStorei) 106 #define glPolygonOffset GLES2_GET_FUN(PolygonOffset) 107 #define glReadPixels GLES2_GET_FUN(ReadPixels) 108 #define glReleaseShaderCompiler GLES2_GET_FUN(ReleaseShaderCompiler) 109 #define glRenderbufferStorage GLES2_GET_FUN(RenderbufferStorage) 110 #define glSampleCoverage GLES2_GET_FUN(SampleCoverage) 111 #define glScissor GLES2_GET_FUN(Scissor) 112 #define glShaderBinary GLES2_GET_FUN(ShaderBinary) 113 #define glShaderSource GLES2_GET_FUN(ShaderSource) 114 #define glShallowFinishCHROMIUM GLES2_GET_FUN(ShallowFinishCHROMIUM) 115 #define glShallowFlushCHROMIUM GLES2_GET_FUN(ShallowFlushCHROMIUM) 116 #define glStencilFunc GLES2_GET_FUN(StencilFunc) 117 #define glStencilFuncSeparate GLES2_GET_FUN(StencilFuncSeparate) 118 #define glStencilMask GLES2_GET_FUN(StencilMask) 119 #define glStencilMaskSeparate GLES2_GET_FUN(StencilMaskSeparate) 120 #define glStencilOp GLES2_GET_FUN(StencilOp) 121 #define glStencilOpSeparate GLES2_GET_FUN(StencilOpSeparate) 122 #define glTexImage2D GLES2_GET_FUN(TexImage2D) 123 #define glTexParameterf GLES2_GET_FUN(TexParameterf) 124 #define glTexParameterfv GLES2_GET_FUN(TexParameterfv) 125 #define glTexParameteri GLES2_GET_FUN(TexParameteri) 126 #define glTexParameteriv GLES2_GET_FUN(TexParameteriv) 127 #define glTexSubImage2D GLES2_GET_FUN(TexSubImage2D) 128 #define glUniform1f GLES2_GET_FUN(Uniform1f) 129 #define glUniform1fv GLES2_GET_FUN(Uniform1fv) 130 #define glUniform1i GLES2_GET_FUN(Uniform1i) 131 #define glUniform1iv GLES2_GET_FUN(Uniform1iv) 132 #define glUniform2f GLES2_GET_FUN(Uniform2f) 133 #define glUniform2fv GLES2_GET_FUN(Uniform2fv) 134 #define glUniform2i GLES2_GET_FUN(Uniform2i) 135 #define glUniform2iv GLES2_GET_FUN(Uniform2iv) 136 #define glUniform3f GLES2_GET_FUN(Uniform3f) 137 #define glUniform3fv GLES2_GET_FUN(Uniform3fv) 138 #define glUniform3i GLES2_GET_FUN(Uniform3i) 139 #define glUniform3iv GLES2_GET_FUN(Uniform3iv) 140 #define glUniform4f GLES2_GET_FUN(Uniform4f) 141 #define glUniform4fv GLES2_GET_FUN(Uniform4fv) 142 #define glUniform4i GLES2_GET_FUN(Uniform4i) 143 #define glUniform4iv GLES2_GET_FUN(Uniform4iv) 144 #define glUniformMatrix2fv GLES2_GET_FUN(UniformMatrix2fv) 145 #define glUniformMatrix3fv GLES2_GET_FUN(UniformMatrix3fv) 146 #define glUniformMatrix4fv GLES2_GET_FUN(UniformMatrix4fv) 147 #define glUseProgram GLES2_GET_FUN(UseProgram) 148 #define glValidateProgram GLES2_GET_FUN(ValidateProgram) 149 #define glVertexAttrib1f GLES2_GET_FUN(VertexAttrib1f) 150 #define glVertexAttrib1fv GLES2_GET_FUN(VertexAttrib1fv) 151 #define glVertexAttrib2f GLES2_GET_FUN(VertexAttrib2f) 152 #define glVertexAttrib2fv GLES2_GET_FUN(VertexAttrib2fv) 153 #define glVertexAttrib3f GLES2_GET_FUN(VertexAttrib3f) 154 #define glVertexAttrib3fv GLES2_GET_FUN(VertexAttrib3fv) 155 #define glVertexAttrib4f GLES2_GET_FUN(VertexAttrib4f) 156 #define glVertexAttrib4fv GLES2_GET_FUN(VertexAttrib4fv) 157 #define glVertexAttribPointer GLES2_GET_FUN(VertexAttribPointer) 158 #define glViewport GLES2_GET_FUN(Viewport) 159 #define glBlitFramebufferCHROMIUM GLES2_GET_FUN(BlitFramebufferCHROMIUM) 160 #define glRenderbufferStorageMultisampleCHROMIUM GLES2_GET_FUN( \ 161 RenderbufferStorageMultisampleCHROMIUM) 162 #define glRenderbufferStorageMultisampleEXT GLES2_GET_FUN( \ 163 RenderbufferStorageMultisampleEXT) 164 #define glFramebufferTexture2DMultisampleEXT GLES2_GET_FUN( \ 165 FramebufferTexture2DMultisampleEXT) 166 #define glTexStorage2DEXT GLES2_GET_FUN(TexStorage2DEXT) 167 #define glGenQueriesEXT GLES2_GET_FUN(GenQueriesEXT) 168 #define glDeleteQueriesEXT GLES2_GET_FUN(DeleteQueriesEXT) 169 #define glIsQueryEXT GLES2_GET_FUN(IsQueryEXT) 170 #define glBeginQueryEXT GLES2_GET_FUN(BeginQueryEXT) 171 #define glEndQueryEXT GLES2_GET_FUN(EndQueryEXT) 172 #define glGetQueryivEXT GLES2_GET_FUN(GetQueryivEXT) 173 #define glGetQueryObjectuivEXT GLES2_GET_FUN(GetQueryObjectuivEXT) 174 #define glInsertEventMarkerEXT GLES2_GET_FUN(InsertEventMarkerEXT) 175 #define glPushGroupMarkerEXT GLES2_GET_FUN(PushGroupMarkerEXT) 176 #define glPopGroupMarkerEXT GLES2_GET_FUN(PopGroupMarkerEXT) 177 #define glGenVertexArraysOES GLES2_GET_FUN(GenVertexArraysOES) 178 #define glDeleteVertexArraysOES GLES2_GET_FUN(DeleteVertexArraysOES) 179 #define glIsVertexArrayOES GLES2_GET_FUN(IsVertexArrayOES) 180 #define glBindVertexArrayOES GLES2_GET_FUN(BindVertexArrayOES) 181 #define glSwapBuffers GLES2_GET_FUN(SwapBuffers) 182 #define glGetMaxValueInBufferCHROMIUM GLES2_GET_FUN( \ 183 GetMaxValueInBufferCHROMIUM) 184 #define glGenSharedIdsCHROMIUM GLES2_GET_FUN(GenSharedIdsCHROMIUM) 185 #define glDeleteSharedIdsCHROMIUM GLES2_GET_FUN(DeleteSharedIdsCHROMIUM) 186 #define glRegisterSharedIdsCHROMIUM GLES2_GET_FUN(RegisterSharedIdsCHROMIUM) 187 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM) 188 #define glMapBufferCHROMIUM GLES2_GET_FUN(MapBufferCHROMIUM) 189 #define glUnmapBufferCHROMIUM GLES2_GET_FUN(UnmapBufferCHROMIUM) 190 #define glMapImageCHROMIUM GLES2_GET_FUN(MapImageCHROMIUM) 191 #define glUnmapImageCHROMIUM GLES2_GET_FUN(UnmapImageCHROMIUM) 192 #define glMapBufferSubDataCHROMIUM GLES2_GET_FUN(MapBufferSubDataCHROMIUM) 193 #define glUnmapBufferSubDataCHROMIUM GLES2_GET_FUN(UnmapBufferSubDataCHROMIUM) 194 #define glMapTexSubImage2DCHROMIUM GLES2_GET_FUN(MapTexSubImage2DCHROMIUM) 195 #define glUnmapTexSubImage2DCHROMIUM GLES2_GET_FUN(UnmapTexSubImage2DCHROMIUM) 196 #define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM) 197 #define glGetRequestableExtensionsCHROMIUM GLES2_GET_FUN( \ 198 GetRequestableExtensionsCHROMIUM) 199 #define glRequestExtensionCHROMIUM GLES2_GET_FUN(RequestExtensionCHROMIUM) 200 #define glRateLimitOffscreenContextCHROMIUM GLES2_GET_FUN( \ 201 RateLimitOffscreenContextCHROMIUM) 202 #define glGetMultipleIntegervCHROMIUM GLES2_GET_FUN( \ 203 GetMultipleIntegervCHROMIUM) 204 #define glGetProgramInfoCHROMIUM GLES2_GET_FUN(GetProgramInfoCHROMIUM) 205 #define glCreateStreamTextureCHROMIUM GLES2_GET_FUN( \ 206 CreateStreamTextureCHROMIUM) 207 #define glDestroyStreamTextureCHROMIUM GLES2_GET_FUN( \ 208 DestroyStreamTextureCHROMIUM) 209 #define glCreateImageCHROMIUM GLES2_GET_FUN(CreateImageCHROMIUM) 210 #define glDestroyImageCHROMIUM GLES2_GET_FUN(DestroyImageCHROMIUM) 211 #define glGetImageParameterivCHROMIUM GLES2_GET_FUN( \ 212 GetImageParameterivCHROMIUM) 213 #define glGetTranslatedShaderSourceANGLE GLES2_GET_FUN( \ 214 GetTranslatedShaderSourceANGLE) 215 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM) 216 #define glTexImageIOSurface2DCHROMIUM GLES2_GET_FUN( \ 217 TexImageIOSurface2DCHROMIUM) 218 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM) 219 #define glDrawArraysInstancedANGLE GLES2_GET_FUN(DrawArraysInstancedANGLE) 220 #define glDrawElementsInstancedANGLE GLES2_GET_FUN(DrawElementsInstancedANGLE) 221 #define glVertexAttribDivisorANGLE GLES2_GET_FUN(VertexAttribDivisorANGLE) 222 #define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM) 223 #define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM) 224 #define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM) 225 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN( \ 226 BindUniformLocationCHROMIUM) 227 #define glBindTexImage2DCHROMIUM GLES2_GET_FUN(BindTexImage2DCHROMIUM) 228 #define glReleaseTexImage2DCHROMIUM GLES2_GET_FUN(ReleaseTexImage2DCHROMIUM) 229 #define glTraceBeginCHROMIUM GLES2_GET_FUN(TraceBeginCHROMIUM) 230 #define glTraceEndCHROMIUM GLES2_GET_FUN(TraceEndCHROMIUM) 231 #define glAsyncTexSubImage2DCHROMIUM GLES2_GET_FUN(AsyncTexSubImage2DCHROMIUM) 232 #define glAsyncTexImage2DCHROMIUM GLES2_GET_FUN(AsyncTexImage2DCHROMIUM) 233 #define glWaitAsyncTexImage2DCHROMIUM GLES2_GET_FUN( \ 234 WaitAsyncTexImage2DCHROMIUM) 235 #define glDiscardFramebufferEXT GLES2_GET_FUN(DiscardFramebufferEXT) 236 #define glLoseContextCHROMIUM GLES2_GET_FUN(LoseContextCHROMIUM) 237 #define glInsertSyncPointCHROMIUM GLES2_GET_FUN(InsertSyncPointCHROMIUM) 238 #define glWaitSyncPointCHROMIUM GLES2_GET_FUN(WaitSyncPointCHROMIUM) 239 #define glDrawBuffersEXT GLES2_GET_FUN(DrawBuffersEXT) 240 #define glDiscardBackbufferCHROMIUM GLES2_GET_FUN(DiscardBackbufferCHROMIUM) 241 242 #endif // GPU_GLES2_GL2CHROMIUM_AUTOGEN_H_ 243 244