From 50c75c12597b230cec4d7a29559cde263025eeb2 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Fri, 8 Sep 2017 23:25:51 +0900 Subject: pacc: initial --- pacc/pacc-gl-procs.inc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pacc/pacc-gl-procs.inc (limited to 'pacc/pacc-gl-procs.inc') 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 -- cgit v1.2.3