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.
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
9 // This file contains Chromium-specific GLES2 declarations.
11 #ifndef GPU_GLES2_GL2CHROMIUM_AUTOGEN_H_
12 #define GPU_GLES2_GL2CHROMIUM_AUTOGEN_H_
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 glShallowFlushCHROMIUM GLES2_GET_FUN(ShallowFlushCHROMIUM)
61 #define glFramebufferRenderbuffer GLES2_GET_FUN(FramebufferRenderbuffer)
62 #define glFramebufferTexture2D GLES2_GET_FUN(FramebufferTexture2D)
63 #define glFrontFace GLES2_GET_FUN(FrontFace)
64 #define glGenBuffers GLES2_GET_FUN(GenBuffers)
65 #define glGenerateMipmap GLES2_GET_FUN(GenerateMipmap)
66 #define glGenFramebuffers GLES2_GET_FUN(GenFramebuffers)
67 #define glGenRenderbuffers GLES2_GET_FUN(GenRenderbuffers)
68 #define glGenTextures GLES2_GET_FUN(GenTextures)
69 #define glGetActiveAttrib GLES2_GET_FUN(GetActiveAttrib)
70 #define glGetActiveUniform GLES2_GET_FUN(GetActiveUniform)
71 #define glGetAttachedShaders GLES2_GET_FUN(GetAttachedShaders)
72 #define glGetAttribLocation GLES2_GET_FUN(GetAttribLocation)
73 #define glGetBooleanv GLES2_GET_FUN(GetBooleanv)
74 #define glGetBufferParameteriv GLES2_GET_FUN(GetBufferParameteriv)
75 #define glGetError GLES2_GET_FUN(GetError)
76 #define glGetFloatv GLES2_GET_FUN(GetFloatv)
77 #define glGetFramebufferAttachmentParameteriv GLES2_GET_FUN( \
78 GetFramebufferAttachmentParameteriv)
79 #define glGetIntegerv GLES2_GET_FUN(GetIntegerv)
80 #define glGetProgramiv GLES2_GET_FUN(GetProgramiv)
81 #define glGetProgramInfoLog GLES2_GET_FUN(GetProgramInfoLog)
82 #define glGetRenderbufferParameteriv GLES2_GET_FUN(GetRenderbufferParameteriv)
83 #define glGetShaderiv GLES2_GET_FUN(GetShaderiv)
84 #define glGetShaderInfoLog GLES2_GET_FUN(GetShaderInfoLog)
85 #define glGetShaderPrecisionFormat GLES2_GET_FUN(GetShaderPrecisionFormat)
86 #define glGetShaderSource GLES2_GET_FUN(GetShaderSource)
87 #define glGetString GLES2_GET_FUN(GetString)
88 #define glGetTexParameterfv GLES2_GET_FUN(GetTexParameterfv)
89 #define glGetTexParameteriv GLES2_GET_FUN(GetTexParameteriv)
90 #define glGetUniformfv GLES2_GET_FUN(GetUniformfv)
91 #define glGetUniformiv GLES2_GET_FUN(GetUniformiv)
92 #define glGetUniformLocation GLES2_GET_FUN(GetUniformLocation)
93 #define glGetVertexAttribfv GLES2_GET_FUN(GetVertexAttribfv)
94 #define glGetVertexAttribiv GLES2_GET_FUN(GetVertexAttribiv)
95 #define glGetVertexAttribPointerv GLES2_GET_FUN(GetVertexAttribPointerv)
96 #define glHint GLES2_GET_FUN(Hint)
97 #define glIsBuffer GLES2_GET_FUN(IsBuffer)
98 #define glIsEnabled GLES2_GET_FUN(IsEnabled)
99 #define glIsFramebuffer GLES2_GET_FUN(IsFramebuffer)
100 #define glIsProgram GLES2_GET_FUN(IsProgram)
101 #define glIsRenderbuffer GLES2_GET_FUN(IsRenderbuffer)
102 #define glIsShader GLES2_GET_FUN(IsShader)
103 #define glIsTexture GLES2_GET_FUN(IsTexture)
104 #define glLineWidth GLES2_GET_FUN(LineWidth)
105 #define glLinkProgram GLES2_GET_FUN(LinkProgram)
106 #define glPixelStorei GLES2_GET_FUN(PixelStorei)
107 #define glPolygonOffset GLES2_GET_FUN(PolygonOffset)
108 #define glReadPixels GLES2_GET_FUN(ReadPixels)
109 #define glReleaseShaderCompiler GLES2_GET_FUN(ReleaseShaderCompiler)
110 #define glRenderbufferStorage GLES2_GET_FUN(RenderbufferStorage)
111 #define glSampleCoverage GLES2_GET_FUN(SampleCoverage)
112 #define glScissor GLES2_GET_FUN(Scissor)
113 #define glShaderBinary GLES2_GET_FUN(ShaderBinary)
114 #define glShaderSource GLES2_GET_FUN(ShaderSource)
115 #define glStencilFunc GLES2_GET_FUN(StencilFunc)
116 #define glStencilFuncSeparate GLES2_GET_FUN(StencilFuncSeparate)
117 #define glStencilMask GLES2_GET_FUN(StencilMask)
118 #define glStencilMaskSeparate GLES2_GET_FUN(StencilMaskSeparate)
119 #define glStencilOp GLES2_GET_FUN(StencilOp)
120 #define glStencilOpSeparate GLES2_GET_FUN(StencilOpSeparate)
121 #define glTexImage2D GLES2_GET_FUN(TexImage2D)
122 #define glTexParameterf GLES2_GET_FUN(TexParameterf)
123 #define glTexParameterfv GLES2_GET_FUN(TexParameterfv)
124 #define glTexParameteri GLES2_GET_FUN(TexParameteri)
125 #define glTexParameteriv GLES2_GET_FUN(TexParameteriv)
126 #define glTexSubImage2D GLES2_GET_FUN(TexSubImage2D)
127 #define glUniform1f GLES2_GET_FUN(Uniform1f)
128 #define glUniform1fv GLES2_GET_FUN(Uniform1fv)
129 #define glUniform1i GLES2_GET_FUN(Uniform1i)
130 #define glUniform1iv GLES2_GET_FUN(Uniform1iv)
131 #define glUniform2f GLES2_GET_FUN(Uniform2f)
132 #define glUniform2fv GLES2_GET_FUN(Uniform2fv)
133 #define glUniform2i GLES2_GET_FUN(Uniform2i)
134 #define glUniform2iv GLES2_GET_FUN(Uniform2iv)
135 #define glUniform3f GLES2_GET_FUN(Uniform3f)
136 #define glUniform3fv GLES2_GET_FUN(Uniform3fv)
137 #define glUniform3i GLES2_GET_FUN(Uniform3i)
138 #define glUniform3iv GLES2_GET_FUN(Uniform3iv)
139 #define glUniform4f GLES2_GET_FUN(Uniform4f)
140 #define glUniform4fv GLES2_GET_FUN(Uniform4fv)
141 #define glUniform4i GLES2_GET_FUN(Uniform4i)
142 #define glUniform4iv GLES2_GET_FUN(Uniform4iv)
143 #define glUniformMatrix2fv GLES2_GET_FUN(UniformMatrix2fv)
144 #define glUniformMatrix3fv GLES2_GET_FUN(UniformMatrix3fv)
145 #define glUniformMatrix4fv GLES2_GET_FUN(UniformMatrix4fv)
146 #define glUseProgram GLES2_GET_FUN(UseProgram)
147 #define glValidateProgram GLES2_GET_FUN(ValidateProgram)
148 #define glVertexAttrib1f GLES2_GET_FUN(VertexAttrib1f)
149 #define glVertexAttrib1fv GLES2_GET_FUN(VertexAttrib1fv)
150 #define glVertexAttrib2f GLES2_GET_FUN(VertexAttrib2f)
151 #define glVertexAttrib2fv GLES2_GET_FUN(VertexAttrib2fv)
152 #define glVertexAttrib3f GLES2_GET_FUN(VertexAttrib3f)
153 #define glVertexAttrib3fv GLES2_GET_FUN(VertexAttrib3fv)
154 #define glVertexAttrib4f GLES2_GET_FUN(VertexAttrib4f)
155 #define glVertexAttrib4fv GLES2_GET_FUN(VertexAttrib4fv)
156 #define glVertexAttribPointer GLES2_GET_FUN(VertexAttribPointer)
157 #define glViewport GLES2_GET_FUN(Viewport)
158 #define glBlitFramebufferEXT GLES2_GET_FUN(BlitFramebufferEXT)
159 #define glRenderbufferStorageMultisampleEXT GLES2_GET_FUN( \
160 RenderbufferStorageMultisampleEXT)
161 #define glTexStorage2DEXT GLES2_GET_FUN(TexStorage2DEXT)
162 #define glGenQueriesEXT GLES2_GET_FUN(GenQueriesEXT)
163 #define glDeleteQueriesEXT GLES2_GET_FUN(DeleteQueriesEXT)
164 #define glIsQueryEXT GLES2_GET_FUN(IsQueryEXT)
165 #define glBeginQueryEXT GLES2_GET_FUN(BeginQueryEXT)
166 #define glEndQueryEXT GLES2_GET_FUN(EndQueryEXT)
167 #define glGetQueryivEXT GLES2_GET_FUN(GetQueryivEXT)
168 #define glGetQueryObjectuivEXT GLES2_GET_FUN(GetQueryObjectuivEXT)
169 #define glInsertEventMarkerEXT GLES2_GET_FUN(InsertEventMarkerEXT)
170 #define glPushGroupMarkerEXT GLES2_GET_FUN(PushGroupMarkerEXT)
171 #define glPopGroupMarkerEXT GLES2_GET_FUN(PopGroupMarkerEXT)
172 #define glGenVertexArraysOES GLES2_GET_FUN(GenVertexArraysOES)
173 #define glDeleteVertexArraysOES GLES2_GET_FUN(DeleteVertexArraysOES)
174 #define glIsVertexArrayOES GLES2_GET_FUN(IsVertexArrayOES)
175 #define glBindVertexArrayOES GLES2_GET_FUN(BindVertexArrayOES)
176 #define glSwapBuffers GLES2_GET_FUN(SwapBuffers)
177 #define glGetMaxValueInBufferCHROMIUM GLES2_GET_FUN( \
178 GetMaxValueInBufferCHROMIUM)
179 #define glGenSharedIdsCHROMIUM GLES2_GET_FUN(GenSharedIdsCHROMIUM)
180 #define glDeleteSharedIdsCHROMIUM GLES2_GET_FUN(DeleteSharedIdsCHROMIUM)
181 #define glRegisterSharedIdsCHROMIUM GLES2_GET_FUN(RegisterSharedIdsCHROMIUM)
182 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM)
183 #define glMapBufferCHROMIUM GLES2_GET_FUN(MapBufferCHROMIUM)
184 #define glUnmapBufferCHROMIUM GLES2_GET_FUN(UnmapBufferCHROMIUM)
185 #define glMapBufferSubDataCHROMIUM GLES2_GET_FUN(MapBufferSubDataCHROMIUM)
186 #define glUnmapBufferSubDataCHROMIUM GLES2_GET_FUN(UnmapBufferSubDataCHROMIUM)
187 #define glMapTexSubImage2DCHROMIUM GLES2_GET_FUN(MapTexSubImage2DCHROMIUM)
188 #define glUnmapTexSubImage2DCHROMIUM GLES2_GET_FUN(UnmapTexSubImage2DCHROMIUM)
189 #define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM)
190 #define glGetRequestableExtensionsCHROMIUM GLES2_GET_FUN( \
191 GetRequestableExtensionsCHROMIUM)
192 #define glRequestExtensionCHROMIUM GLES2_GET_FUN(RequestExtensionCHROMIUM)
193 #define glRateLimitOffscreenContextCHROMIUM GLES2_GET_FUN( \
194 RateLimitOffscreenContextCHROMIUM)
195 #define glGetMultipleIntegervCHROMIUM GLES2_GET_FUN( \
196 GetMultipleIntegervCHROMIUM)
197 #define glGetProgramInfoCHROMIUM GLES2_GET_FUN(GetProgramInfoCHROMIUM)
198 #define glCreateStreamTextureCHROMIUM GLES2_GET_FUN( \
199 CreateStreamTextureCHROMIUM)
200 #define glDestroyStreamTextureCHROMIUM GLES2_GET_FUN( \
201 DestroyStreamTextureCHROMIUM)
202 #define glGetTranslatedShaderSourceANGLE GLES2_GET_FUN( \
203 GetTranslatedShaderSourceANGLE)
204 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM)
205 #define glTexImageIOSurface2DCHROMIUM GLES2_GET_FUN( \
206 TexImageIOSurface2DCHROMIUM)
207 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM)
208 #define glDrawArraysInstancedANGLE GLES2_GET_FUN(DrawArraysInstancedANGLE)
209 #define glDrawElementsInstancedANGLE GLES2_GET_FUN(DrawElementsInstancedANGLE)
210 #define glVertexAttribDivisorANGLE GLES2_GET_FUN(VertexAttribDivisorANGLE)
211 #define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM)
212 #define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM)
213 #define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM)
214 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN( \
215 BindUniformLocationCHROMIUM)
216 #define glBindTexImage2DCHROMIUM GLES2_GET_FUN(BindTexImage2DCHROMIUM)
217 #define glReleaseTexImage2DCHROMIUM GLES2_GET_FUN(ReleaseTexImage2DCHROMIUM)
218 #define glTraceBeginCHROMIUM GLES2_GET_FUN(TraceBeginCHROMIUM)
219 #define glTraceEndCHROMIUM GLES2_GET_FUN(TraceEndCHROMIUM)
220 #define glAsyncTexSubImage2DCHROMIUM GLES2_GET_FUN(AsyncTexSubImage2DCHROMIUM)
221 #define glAsyncTexImage2DCHROMIUM GLES2_GET_FUN(AsyncTexImage2DCHROMIUM)
222 #define glWaitAsyncTexImage2DCHROMIUM GLES2_GET_FUN( \
223 WaitAsyncTexImage2DCHROMIUM)
224 #define glDiscardFramebufferEXT GLES2_GET_FUN(DiscardFramebufferEXT)
225 #define glLoseContextCHROMIUM GLES2_GET_FUN(LoseContextCHROMIUM)
226 #define glInsertSyncPointCHROMIUM GLES2_GET_FUN(InsertSyncPointCHROMIUM)
227 #define glWaitSyncPointCHROMIUM GLES2_GET_FUN(WaitSyncPointCHROMIUM)
228 #define glDrawBuffersEXT GLES2_GET_FUN(DrawBuffersEXT)
230 #endif // GPU_GLES2_GL2CHROMIUM_AUTOGEN_H_