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