Browse Source

Remove space prefix

gingerBill 4 years ago
parent
commit
7a1498e7dc
1 changed files with 84 additions and 84 deletions
  1. 84 84
      vendor/OpenGL/impl.odin

+ 84 - 84
vendor/OpenGL/impl.odin

@@ -516,90 +516,90 @@ load_2_1 :: proc(set_proc_address: Set_Proc_Address_Type) {
 
 
 // VERSION_3_0
- impl_ColorMaski:                          proc "c" (index: u32, r: u8, g: u8, b: u8, a: u8);
- impl_GetBooleani_v:                       proc "c" (target: u32, index: u32, data: ^bool);
- impl_GetIntegeri_v:                       proc "c" (target: u32, index: u32, data: ^i32);
- impl_Enablei:                             proc "c" (target: u32, index: u32);
- impl_Disablei:                            proc "c" (target: u32, index: u32);
- impl_IsEnabledi:                          proc "c" (target: u32, index: u32) -> bool;
- impl_BeginTransformFeedback:              proc "c" (primitiveMode: u32);
- impl_EndTransformFeedback:                proc "c" ();
- impl_BindBufferRange:                     proc "c" (target: u32, index: u32, buffer: u32, offset: int, size: int);
- impl_BindBufferBase:                      proc "c" (target: u32, index: u32, buffer: u32);
- impl_TransformFeedbackVaryings:           proc "c" (program: u32, count: i32, varyings: [^]cstring, bufferMode: u32);
- impl_GetTransformFeedbackVarying:         proc "c" (program: u32, index: u32, bufSize: i32, length: ^i32, size: ^i32, type: ^u32, name: [^]u8);
- impl_ClampColor:                          proc "c" (target: u32, clamp: u32);
- impl_BeginConditionalRender:              proc "c" (id: u32, mode: u32);
- impl_EndConditionalRender:                proc "c" ();
- impl_VertexAttribIPointer:                proc "c" (index: u32, size: i32, type: u32, stride: i32, pointer: rawptr);
- impl_GetVertexAttribIiv:                  proc "c" (index: u32, pname: u32, params: [^]i32);
- impl_GetVertexAttribIuiv:                 proc "c" (index: u32, pname: u32, params: [^]u32);
- impl_VertexAttribI1i:                     proc "c" (index: u32, x: i32);
- impl_VertexAttribI2i:                     proc "c" (index: u32, x: i32, y: i32);
- impl_VertexAttribI3i:                     proc "c" (index: u32, x: i32, y: i32, z: i32);
- impl_VertexAttribI4i:                     proc "c" (index: u32, x: i32, y: i32, z: i32, w: i32);
- impl_VertexAttribI1ui:                    proc "c" (index: u32, x: u32);
- impl_VertexAttribI2ui:                    proc "c" (index: u32, x: u32, y: u32);
- impl_VertexAttribI3ui:                    proc "c" (index: u32, x: u32, y: u32, z: u32);
- impl_VertexAttribI4ui:                    proc "c" (index: u32, x: u32, y: u32, z: u32, w: u32);
- impl_VertexAttribI1iv:                    proc "c" (index: u32, v: ^i32);
- impl_VertexAttribI2iv:                    proc "c" (index: u32, v: ^i32);
- impl_VertexAttribI3iv:                    proc "c" (index: u32, v: ^i32);
- impl_VertexAttribI4iv:                    proc "c" (index: u32, v: ^i32);
- impl_VertexAttribI1uiv:                   proc "c" (index: u32, v: ^u32);
- impl_VertexAttribI2uiv:                   proc "c" (index: u32, v: ^u32);
- impl_VertexAttribI3uiv:                   proc "c" (index: u32, v: ^u32);
- impl_VertexAttribI4uiv:                   proc "c" (index: u32, v: ^u32);
- impl_VertexAttribI4bv:                    proc "c" (index: u32, v: ^i8);
- impl_VertexAttribI4sv:                    proc "c" (index: u32, v: ^i16);
- impl_VertexAttribI4ubv:                   proc "c" (index: u32, v: ^u8);
- impl_VertexAttribI4usv:                   proc "c" (index: u32, v: ^u16);
- impl_GetUniformuiv:                       proc "c" (program: u32, location: i32, params: [^]u32);
- impl_BindFragDataLocation:                proc "c" (program: u32, color: u32, name: cstring);
- impl_GetFragDataLocation:                 proc "c" (program: u32, name: cstring) -> i32;
- impl_Uniform1ui:                          proc "c" (location: i32, v0: u32);
- impl_Uniform2ui:                          proc "c" (location: i32, v0: u32, v1: u32);
- impl_Uniform3ui:                          proc "c" (location: i32, v0: u32, v1: u32, v2: u32);
- impl_Uniform4ui:                          proc "c" (location: i32, v0: u32, v1: u32, v2: u32, v3: u32);
- impl_Uniform1uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
- impl_Uniform2uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
- impl_Uniform3uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
- impl_Uniform4uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
- impl_TexParameterIiv:                     proc "c" (target: u32, pname: u32, params: [^]i32);
- impl_TexParameterIuiv:                    proc "c" (target: u32, pname: u32, params: [^]u32);
- impl_GetTexParameterIiv:                  proc "c" (target: u32, pname: u32, params: [^]i32);
- impl_GetTexParameterIuiv:                 proc "c" (target: u32, pname: u32, params: [^]u32);
- impl_ClearBufferiv:                       proc "c" (buffer: u32, drawbuffer: i32, value: ^i32);
- impl_ClearBufferuiv:                      proc "c" (buffer: u32, drawbuffer: i32, value: ^u32);
- impl_ClearBufferfv:                       proc "c" (buffer: u32, drawbuffer: i32, value: ^f32);
- impl_ClearBufferfi:                       proc "c" (buffer: u32, drawbuffer: i32, depth: f32, stencil: i32) -> rawptr;
- impl_GetStringi:                          proc "c" (name: u32, index: u32) -> cstring;
- impl_IsRenderbuffer:                      proc "c" (renderbuffer: u32) -> bool;
- impl_BindRenderbuffer:                    proc "c" (target: u32, renderbuffer: u32);
- impl_DeleteRenderbuffers:                 proc "c" (n: i32, renderbuffers: [^]u32);
- impl_GenRenderbuffers:                    proc "c" (n: i32, renderbuffers: [^]u32);
- impl_RenderbufferStorage:                 proc "c" (target: u32, internalformat: u32, width: i32, height: i32);
- impl_GetRenderbufferParameteriv:          proc "c" (target: u32, pname: u32, params: [^]i32);
- impl_IsFramebuffer:                       proc "c" (framebuffer: u32) -> bool;
- impl_BindFramebuffer:                     proc "c" (target: u32, framebuffer: u32);
- impl_DeleteFramebuffers:                  proc "c" (n: i32, framebuffers: [^]u32);
- impl_GenFramebuffers:                     proc "c" (n: i32, framebuffers: [^]u32);
- impl_CheckFramebufferStatus:              proc "c" (target: u32) -> u32;
- impl_FramebufferTexture1D:                proc "c" (target: u32, attachment: u32, textarget: u32, texture: u32, level: i32);
- impl_FramebufferTexture2D:                proc "c" (target: u32, attachment: u32, textarget: u32, texture: u32, level: i32);
- impl_FramebufferTexture3D:                proc "c" (target: u32, attachment: u32, textarget: u32, texture: u32, level: i32, zoffset: i32);
- impl_FramebufferRenderbuffer:             proc "c" (target: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32);
- impl_GetFramebufferAttachmentParameteriv: proc "c" (target: u32, attachment: u32, pname: u32, params: [^]i32);
- impl_GenerateMipmap:                      proc "c" (target: u32);
- impl_BlitFramebuffer:                     proc "c" (srcX0: i32, srcY0: i32, srcX1: i32, srcY1: i32, dstX0: i32, dstY0: i32, dstX1: i32, dstY1: i32, mask: u32, filter: u32);
- impl_RenderbufferStorageMultisample:      proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32);
- impl_FramebufferTextureLayer:             proc "c" (target: u32, attachment: u32, texture: u32, level: i32, layer: i32);
- impl_MapBufferRange:                      proc "c" (target: u32, offset: int, length: int, access: u32) -> rawptr;
- impl_FlushMappedBufferRange:              proc "c" (target: u32, offset: int, length: int);
- impl_BindVertexArray:                     proc "c" (array: u32);
- impl_DeleteVertexArrays:                  proc "c" (n: i32, arrays: [^]u32);
- impl_GenVertexArrays:                     proc "c" (n: i32, arrays: [^]u32);
- impl_IsVertexArray:                       proc "c" (array: u32) -> bool;
+impl_ColorMaski:                          proc "c" (index: u32, r: u8, g: u8, b: u8, a: u8);
+impl_GetBooleani_v:                       proc "c" (target: u32, index: u32, data: ^bool);
+impl_GetIntegeri_v:                       proc "c" (target: u32, index: u32, data: ^i32);
+impl_Enablei:                             proc "c" (target: u32, index: u32);
+impl_Disablei:                            proc "c" (target: u32, index: u32);
+impl_IsEnabledi:                          proc "c" (target: u32, index: u32) -> bool;
+impl_BeginTransformFeedback:              proc "c" (primitiveMode: u32);
+impl_EndTransformFeedback:                proc "c" ();
+impl_BindBufferRange:                     proc "c" (target: u32, index: u32, buffer: u32, offset: int, size: int);
+impl_BindBufferBase:                      proc "c" (target: u32, index: u32, buffer: u32);
+impl_TransformFeedbackVaryings:           proc "c" (program: u32, count: i32, varyings: [^]cstring, bufferMode: u32);
+impl_GetTransformFeedbackVarying:         proc "c" (program: u32, index: u32, bufSize: i32, length: ^i32, size: ^i32, type: ^u32, name: [^]u8);
+impl_ClampColor:                          proc "c" (target: u32, clamp: u32);
+impl_BeginConditionalRender:              proc "c" (id: u32, mode: u32);
+impl_EndConditionalRender:                proc "c" ();
+impl_VertexAttribIPointer:                proc "c" (index: u32, size: i32, type: u32, stride: i32, pointer: rawptr);
+impl_GetVertexAttribIiv:                  proc "c" (index: u32, pname: u32, params: [^]i32);
+impl_GetVertexAttribIuiv:                 proc "c" (index: u32, pname: u32, params: [^]u32);
+impl_VertexAttribI1i:                     proc "c" (index: u32, x: i32);
+impl_VertexAttribI2i:                     proc "c" (index: u32, x: i32, y: i32);
+impl_VertexAttribI3i:                     proc "c" (index: u32, x: i32, y: i32, z: i32);
+impl_VertexAttribI4i:                     proc "c" (index: u32, x: i32, y: i32, z: i32, w: i32);
+impl_VertexAttribI1ui:                    proc "c" (index: u32, x: u32);
+impl_VertexAttribI2ui:                    proc "c" (index: u32, x: u32, y: u32);
+impl_VertexAttribI3ui:                    proc "c" (index: u32, x: u32, y: u32, z: u32);
+impl_VertexAttribI4ui:                    proc "c" (index: u32, x: u32, y: u32, z: u32, w: u32);
+impl_VertexAttribI1iv:                    proc "c" (index: u32, v: ^i32);
+impl_VertexAttribI2iv:                    proc "c" (index: u32, v: ^i32);
+impl_VertexAttribI3iv:                    proc "c" (index: u32, v: ^i32);
+impl_VertexAttribI4iv:                    proc "c" (index: u32, v: ^i32);
+impl_VertexAttribI1uiv:                   proc "c" (index: u32, v: ^u32);
+impl_VertexAttribI2uiv:                   proc "c" (index: u32, v: ^u32);
+impl_VertexAttribI3uiv:                   proc "c" (index: u32, v: ^u32);
+impl_VertexAttribI4uiv:                   proc "c" (index: u32, v: ^u32);
+impl_VertexAttribI4bv:                    proc "c" (index: u32, v: ^i8);
+impl_VertexAttribI4sv:                    proc "c" (index: u32, v: ^i16);
+impl_VertexAttribI4ubv:                   proc "c" (index: u32, v: ^u8);
+impl_VertexAttribI4usv:                   proc "c" (index: u32, v: ^u16);
+impl_GetUniformuiv:                       proc "c" (program: u32, location: i32, params: [^]u32);
+impl_BindFragDataLocation:                proc "c" (program: u32, color: u32, name: cstring);
+impl_GetFragDataLocation:                 proc "c" (program: u32, name: cstring) -> i32;
+impl_Uniform1ui:                          proc "c" (location: i32, v0: u32);
+impl_Uniform2ui:                          proc "c" (location: i32, v0: u32, v1: u32);
+impl_Uniform3ui:                          proc "c" (location: i32, v0: u32, v1: u32, v2: u32);
+impl_Uniform4ui:                          proc "c" (location: i32, v0: u32, v1: u32, v2: u32, v3: u32);
+impl_Uniform1uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
+impl_Uniform2uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
+impl_Uniform3uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
+impl_Uniform4uiv:                         proc "c" (location: i32, count: i32, value: [^]u32);
+impl_TexParameterIiv:                     proc "c" (target: u32, pname: u32, params: [^]i32);
+impl_TexParameterIuiv:                    proc "c" (target: u32, pname: u32, params: [^]u32);
+impl_GetTexParameterIiv:                  proc "c" (target: u32, pname: u32, params: [^]i32);
+impl_GetTexParameterIuiv:                 proc "c" (target: u32, pname: u32, params: [^]u32);
+impl_ClearBufferiv:                       proc "c" (buffer: u32, drawbuffer: i32, value: ^i32);
+impl_ClearBufferuiv:                      proc "c" (buffer: u32, drawbuffer: i32, value: ^u32);
+impl_ClearBufferfv:                       proc "c" (buffer: u32, drawbuffer: i32, value: ^f32);
+impl_ClearBufferfi:                       proc "c" (buffer: u32, drawbuffer: i32, depth: f32, stencil: i32) -> rawptr;
+impl_GetStringi:                          proc "c" (name: u32, index: u32) -> cstring;
+impl_IsRenderbuffer:                      proc "c" (renderbuffer: u32) -> bool;
+impl_BindRenderbuffer:                    proc "c" (target: u32, renderbuffer: u32);
+impl_DeleteRenderbuffers:                 proc "c" (n: i32, renderbuffers: [^]u32);
+impl_GenRenderbuffers:                    proc "c" (n: i32, renderbuffers: [^]u32);
+impl_RenderbufferStorage:                 proc "c" (target: u32, internalformat: u32, width: i32, height: i32);
+impl_GetRenderbufferParameteriv:          proc "c" (target: u32, pname: u32, params: [^]i32);
+impl_IsFramebuffer:                       proc "c" (framebuffer: u32) -> bool;
+impl_BindFramebuffer:                     proc "c" (target: u32, framebuffer: u32);
+impl_DeleteFramebuffers:                  proc "c" (n: i32, framebuffers: [^]u32);
+impl_GenFramebuffers:                     proc "c" (n: i32, framebuffers: [^]u32);
+impl_CheckFramebufferStatus:              proc "c" (target: u32) -> u32;
+impl_FramebufferTexture1D:                proc "c" (target: u32, attachment: u32, textarget: u32, texture: u32, level: i32);
+impl_FramebufferTexture2D:                proc "c" (target: u32, attachment: u32, textarget: u32, texture: u32, level: i32);
+impl_FramebufferTexture3D:                proc "c" (target: u32, attachment: u32, textarget: u32, texture: u32, level: i32, zoffset: i32);
+impl_FramebufferRenderbuffer:             proc "c" (target: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32);
+impl_GetFramebufferAttachmentParameteriv: proc "c" (target: u32, attachment: u32, pname: u32, params: [^]i32);
+impl_GenerateMipmap:                      proc "c" (target: u32);
+impl_BlitFramebuffer:                     proc "c" (srcX0: i32, srcY0: i32, srcX1: i32, srcY1: i32, dstX0: i32, dstY0: i32, dstX1: i32, dstY1: i32, mask: u32, filter: u32);
+impl_RenderbufferStorageMultisample:      proc "c" (target: u32, samples: i32, internalformat: u32, width: i32, height: i32);
+impl_FramebufferTextureLayer:             proc "c" (target: u32, attachment: u32, texture: u32, level: i32, layer: i32);
+impl_MapBufferRange:                      proc "c" (target: u32, offset: int, length: int, access: u32) -> rawptr;
+impl_FlushMappedBufferRange:              proc "c" (target: u32, offset: int, length: int);
+impl_BindVertexArray:                     proc "c" (array: u32);
+impl_DeleteVertexArrays:                  proc "c" (n: i32, arrays: [^]u32);
+impl_GenVertexArrays:                     proc "c" (n: i32, arrays: [^]u32);
+impl_IsVertexArray:                       proc "c" (array: u32) -> bool;
 
 load_3_0 :: proc(set_proc_address: Set_Proc_Address_Type) {
 	set_proc_address(&impl_ColorMaski,                          "glColorMaski");