diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-09-08 23:25:51 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-09-08 23:25:51 +0900 |
commit | 50c75c12597b230cec4d7a29559cde263025eeb2 (patch) | |
tree | 9fa8afe8bcf6e1219186e5c567930831a3b5eab5 /pacc/pacc-gl-procs.inc | |
parent | 4cfeddd04dcbbf658195bd837d7daff7f08b37bc (diff) |
pacc: initial
Diffstat (limited to 'pacc/pacc-gl-procs.inc')
-rw-r--r-- | pacc/pacc-gl-procs.inc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pacc/pacc-gl-procs.inc b/pacc/pacc-gl-procs.inc new file mode 100644 index 0000000..cd991e0 --- /dev/null +++ b/pacc/pacc-gl-procs.inc @@ -0,0 +1,46 @@ +#ifndef PROC_NO_GL_1_3 +#ifndef PROC_NO_GL_1_1 +PROC(CLEAR, Clear) +PROC(DELETETEXTURES, DeleteTextures) +PROC(TEXIMAGE2D, TexImage2D) +PROC(CLEARCOLOR, ClearColor) +PROC(BINDTEXTURE, BindTexture) +PROC(GENTEXTURES, GenTextures) +PROC(TEXPARAMETERI, TexParameteri) +PROC(PIXELSTOREI, PixelStorei) +PROC(DRAWARRAYS, DrawArrays) +#endif // PROC_NO_GL_1_1 +PROC(ACTIVETEXTURE, ActiveTexture) +#endif // PROC_NO_GL_1_3 +PROC(DELETEPROGRAM, DeleteProgram) +PROC(CREATESHADER, CreateShader) +PROC(SHADERSOURCE, ShaderSource) +PROC(COMPILESHADER, CompileShader) +PROC(GETSHADERIV, GetShaderiv) +#ifndef NDEBUG +PROC(GETSHADERINFOLOG, GetShaderInfoLog) +#endif +PROC(DELETESHADER, DeleteShader) +PROC(CREATEPROGRAM, CreateProgram) +PROC(ATTACHSHADER, AttachShader) +PROC(BINDATTRIBLOCATION, BindAttribLocation) +PROC(LINKPROGRAM, LinkProgram) +PROC(GETPROGRAMIV, GetProgramiv) +#ifndef NDEBUG +PROC(GETPROGRAMINFOLOG, GetProgramInfoLog) +#endif +PROC(USEPROGRAM, UseProgram) +PROC(UNIFORM1I, Uniform1i) +PROC(GETUNIFORMLOCATION, GetUniformLocation) +PROC(DELETEBUFFERS, DeleteBuffers) +PROC(GENBUFFERS, GenBuffers) +PROC(UNIFORM1F, Uniform1f) +PROC(BINDBUFFER, BindBuffer) +PROC(BUFFERDATA, BufferData) +PROC(ENABLEVERTEXATTRIBARRAY, EnableVertexAttribArray) +PROC(VERTEXATTRIBPOINTER, VertexAttribPointer) +#ifdef PACC_GL_3 +PROC(DELETEVERTEXARRAYS, DeleteVertexArrays) +PROC(GENVERTEXARRAYS, GenVertexArrays) +PROC(BINDVERTEXARRAY, BindVertexArray) +#endif |