Skip to content

Commit 74af7be

Browse files
committed
parse signatures of functions with pointers into CSV files to be filled out
1 parent 88d0906 commit 74af7be

File tree

272 files changed

+5387
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+5387
-0
lines changed

signatures/parse_signatures.pl

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
use strict;
2+
use warnings;
3+
use IO::All -binary;
4+
use Text::CSV_XS qw( csv );
5+
use Devel::Confess;
6+
use FindBin '$Bin';
7+
8+
run();
9+
10+
sub run {
11+
my $target_dir = "$Bin/pointer_functions_by_feature";
12+
mkdir $target_dir if not -d $target_dir;
13+
my %features;
14+
push @{ $features{ $_->{feature} } }, $_ for eval io( "$Bin/badp-XS-sigs-numptr.pl" )->all;
15+
my $sigpars = Signature::Parser->new;
16+
for my $feature ( sort keys %features ) {
17+
my @functions = @{ $features{$feature} };
18+
my $files = 1;
19+
my $pointers = 0;
20+
my @arguments;
21+
my @funcs_to_do = sort { $a->{name} cmp $b->{name} } @functions;
22+
for my $i ( 0 .. $#funcs_to_do ) {
23+
my $function = $funcs_to_do[$i];
24+
my @sig_parts = @{ $sigpars->from_string( $function->{signature} ) };
25+
for my $part ( @sig_parts ) {
26+
my $inout = $part->{pointer_depth} ? "???" : "in";
27+
my $width = $part->{pointer_depth} ? "???" : "fixed";
28+
my $notes = $part->{pointer_depth} ? "???" : "";
29+
push @arguments, [ #
30+
@{$function}{qw( restype name )},
31+
@{$part}{qw( pointer_depth type name size )},
32+
$inout, $width, $notes
33+
];
34+
}
35+
$pointers += $function->{nptr};
36+
37+
# try to batch things by dumping after 10 pointers (except for the very last loop)
38+
next if $i == $#funcs_to_do or $pointers <= 10;
39+
dump_arguments( $feature, \@arguments, \$files, \$pointers, $target_dir );
40+
}
41+
$files = 0 if $files == 1; # don't add series numbers to filename if there's only one file
42+
dump_arguments( $feature, \@arguments, \$files, \$pointers, $target_dir ) if @arguments;
43+
}
44+
return;
45+
}
46+
47+
sub dump_arguments {
48+
my ( $feature, $arguments, $files, $pointers, $target_dir ) = @_;
49+
my $file_number = ${$files} ? sprintf( ".%04d", ${$files} ) : "";
50+
my $target = "$target_dir/$feature$file_number.csv";
51+
my @header = qw( res_type func_name pointer_depth type arg_name array_size inout width notes );
52+
csv( in => [ \@header, @{$arguments} ], out => $target, auto_diag => 9, enc => ":raw" );
53+
${$pointers} = 0;
54+
@{$arguments} = ();
55+
${$files}++;
56+
return;
57+
}
58+
59+
package Signature::Parser;
60+
61+
use parent 'Parser::MGC';
62+
use curry;
63+
64+
sub parse {
65+
my ( $self ) = @_;
66+
67+
my @type_words = (
68+
qw( const void ),
69+
map "GL$_", qw( void boolean enum short ushort byte ubyte
70+
sizei sizeiptr sizeiptrARB
71+
float double half char bitfield fixed
72+
DEBUGPROC DEBUGPROCAMD DEBUGPROCARB handleARB charARB sync clampd clampf
73+
vdpauSurfaceNV
74+
),
75+
qw( int uint intptr intptrARB int64 int64EXT uint64 uint64EXT ) # how many fucking ints do you need, GL
76+
);
77+
78+
return $self->list_of(
79+
",",
80+
sub {
81+
my $type_parts = $self->any_of(
82+
$self->curry::token_kw( qw( GLsync ) ), # there's one instance of GLsync GLsync
83+
$self->curry::sequence_of(
84+
sub {
85+
$self->any_of(
86+
$self->curry::token_kw( @type_words ), #
87+
$self->curry::expect( "*" ),
88+
);
89+
}
90+
),
91+
);
92+
$type_parts = [$type_parts] if not ref $type_parts;
93+
my $pointer_depth = 0;
94+
$pointer_depth += $_ =~ /\*/ for @{$type_parts};
95+
my $type = join " ", @{$type_parts};
96+
my $name = $self->token_ident;
97+
my $size = # halcy says [16] can be a mat4
98+
$self->maybe( $self->curry::scope_of( "[", $self->curry::token_number, "]" ) );
99+
$size = "INF" if not $size and $self->maybe( $self->curry::expect( "[]" ) );
100+
return { type => $type, name => $name, pointer_depth => $pointer_depth, size => $size };
101+
}
102+
);
103+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDebugMessageCallbackAMD,0,GLDEBUGPROCAMD,callback,,in,fixed,
3+
void,glDebugMessageCallbackAMD,1,"void *",userParam,,???,???,???
4+
void,glDebugMessageEnableAMD,0,GLenum,category,,in,fixed,
5+
void,glDebugMessageEnableAMD,0,GLenum,severity,,in,fixed,
6+
void,glDebugMessageEnableAMD,0,GLsizei,count,,in,fixed,
7+
void,glDebugMessageEnableAMD,1,"const GLuint *",ids,,???,???,???
8+
void,glDebugMessageEnableAMD,0,GLboolean,enabled,,in,fixed,
9+
void,glDebugMessageInsertAMD,0,GLenum,category,,in,fixed,
10+
void,glDebugMessageInsertAMD,0,GLenum,severity,,in,fixed,
11+
void,glDebugMessageInsertAMD,0,GLuint,id,,in,fixed,
12+
void,glDebugMessageInsertAMD,0,GLsizei,length,,in,fixed,
13+
void,glDebugMessageInsertAMD,1,"const GLchar *",buf,,???,???,???
14+
GLuint,glGetDebugMessageLogAMD,0,GLuint,count,,in,fixed,
15+
GLuint,glGetDebugMessageLogAMD,0,GLsizei,bufsize,,in,fixed,
16+
GLuint,glGetDebugMessageLogAMD,1,"GLenum *",categories,,???,???,???
17+
GLuint,glGetDebugMessageLogAMD,1,"GLuint *",severities,,???,???,???
18+
GLuint,glGetDebugMessageLogAMD,1,"GLuint *",ids,,???,???,???
19+
GLuint,glGetDebugMessageLogAMD,1,"GLsizei *",lengths,,???,???,???
20+
GLuint,glGetDebugMessageLogAMD,1,"GLchar *",message,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glMultiDrawArraysIndirectAMD,0,GLenum,mode,,in,fixed,
3+
void,glMultiDrawArraysIndirectAMD,1,"const void *",indirect,,???,???,???
4+
void,glMultiDrawArraysIndirectAMD,0,GLsizei,primcount,,in,fixed,
5+
void,glMultiDrawArraysIndirectAMD,0,GLsizei,stride,,in,fixed,
6+
void,glMultiDrawElementsIndirectAMD,0,GLenum,mode,,in,fixed,
7+
void,glMultiDrawElementsIndirectAMD,0,GLenum,type,,in,fixed,
8+
void,glMultiDrawElementsIndirectAMD,1,"const void *",indirect,,???,???,???
9+
void,glMultiDrawElementsIndirectAMD,0,GLsizei,primcount,,in,fixed,
10+
void,glMultiDrawElementsIndirectAMD,0,GLsizei,stride,,in,fixed,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDeleteNamesAMD,0,GLenum,identifier,,in,fixed,
3+
void,glDeleteNamesAMD,0,GLuint,num,,in,fixed,
4+
void,glDeleteNamesAMD,1,"const GLuint *",names,,???,???,???
5+
void,glGenNamesAMD,0,GLenum,identifier,,in,fixed,
6+
void,glGenNamesAMD,0,GLuint,num,,in,fixed,
7+
void,glGenNamesAMD,1,"GLuint *",names,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDeletePerfMonitorsAMD,0,GLsizei,n,,in,fixed,
3+
void,glDeletePerfMonitorsAMD,1,"GLuint *",monitors,,???,???,???
4+
void,glGenPerfMonitorsAMD,0,GLsizei,n,,in,fixed,
5+
void,glGenPerfMonitorsAMD,1,"GLuint *",monitors,,???,???,???
6+
void,glGetPerfMonitorCounterDataAMD,0,GLuint,monitor,,in,fixed,
7+
void,glGetPerfMonitorCounterDataAMD,0,GLenum,pname,,in,fixed,
8+
void,glGetPerfMonitorCounterDataAMD,0,GLsizei,dataSize,,in,fixed,
9+
void,glGetPerfMonitorCounterDataAMD,1,"GLuint *",data,,???,???,???
10+
void,glGetPerfMonitorCounterDataAMD,1,"GLint *",bytesWritten,,???,???,???
11+
void,glGetPerfMonitorCounterInfoAMD,0,GLuint,group,,in,fixed,
12+
void,glGetPerfMonitorCounterInfoAMD,0,GLuint,counter,,in,fixed,
13+
void,glGetPerfMonitorCounterInfoAMD,0,GLenum,pname,,in,fixed,
14+
void,glGetPerfMonitorCounterInfoAMD,1,"void *",data,,???,???,???
15+
void,glGetPerfMonitorCounterStringAMD,0,GLuint,group,,in,fixed,
16+
void,glGetPerfMonitorCounterStringAMD,0,GLuint,counter,,in,fixed,
17+
void,glGetPerfMonitorCounterStringAMD,0,GLsizei,bufSize,,in,fixed,
18+
void,glGetPerfMonitorCounterStringAMD,1,"GLsizei *",length,,???,???,???
19+
void,glGetPerfMonitorCounterStringAMD,1,"GLchar *",counterString,,???,???,???
20+
void,glGetPerfMonitorCountersAMD,0,GLuint,group,,in,fixed,
21+
void,glGetPerfMonitorCountersAMD,1,"GLint *",numCounters,,???,???,???
22+
void,glGetPerfMonitorCountersAMD,1,"GLint *",maxActiveCounters,,???,???,???
23+
void,glGetPerfMonitorCountersAMD,0,GLsizei,countersSize,,in,fixed,
24+
void,glGetPerfMonitorCountersAMD,1,"GLuint *",counters,,???,???,???
25+
void,glGetPerfMonitorGroupStringAMD,0,GLuint,group,,in,fixed,
26+
void,glGetPerfMonitorGroupStringAMD,0,GLsizei,bufSize,,in,fixed,
27+
void,glGetPerfMonitorGroupStringAMD,1,"GLsizei *",length,,???,???,???
28+
void,glGetPerfMonitorGroupStringAMD,1,"GLchar *",groupString,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glGetPerfMonitorGroupsAMD,1,"GLint *",numGroups,,???,???,???
3+
void,glGetPerfMonitorGroupsAMD,0,GLsizei,groupsSize,,in,fixed,
4+
void,glGetPerfMonitorGroupsAMD,1,"GLuint *",groups,,???,???,???
5+
void,glSelectPerfMonitorCountersAMD,0,GLuint,monitor,,in,fixed,
6+
void,glSelectPerfMonitorCountersAMD,0,GLboolean,enable,,in,fixed,
7+
void,glSelectPerfMonitorCountersAMD,0,GLuint,group,,in,fixed,
8+
void,glSelectPerfMonitorCountersAMD,0,GLint,numCounters,,in,fixed,
9+
void,glSelectPerfMonitorCountersAMD,1,"GLuint *",counterList,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glSetMultisamplefvAMD,0,GLenum,pname,,in,fixed,
3+
void,glSetMultisamplefvAMD,0,GLuint,index,,in,fixed,
4+
void,glSetMultisamplefvAMD,1,"const GLfloat *",val,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDrawElementsInstancedANGLE,0,GLenum,mode,,in,fixed,
3+
void,glDrawElementsInstancedANGLE,0,GLsizei,count,,in,fixed,
4+
void,glDrawElementsInstancedANGLE,0,GLenum,type,,in,fixed,
5+
void,glDrawElementsInstancedANGLE,1,"const void *",indices,,???,???,???
6+
void,glDrawElementsInstancedANGLE,0,GLsizei,primcount,,in,fixed,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDeleteQueriesANGLE,0,GLsizei,n,,in,fixed,
3+
void,glDeleteQueriesANGLE,1,"const GLuint *",ids,,???,???,???
4+
void,glGenQueriesANGLE,0,GLsizei,n,,in,fixed,
5+
void,glGenQueriesANGLE,1,"GLuint *",ids,,???,???,???
6+
void,glGetQueryObjecti64vANGLE,0,GLuint,id,,in,fixed,
7+
void,glGetQueryObjecti64vANGLE,0,GLenum,pname,,in,fixed,
8+
void,glGetQueryObjecti64vANGLE,1,"GLint64 *",params,,???,???,???
9+
void,glGetQueryObjectivANGLE,0,GLuint,id,,in,fixed,
10+
void,glGetQueryObjectivANGLE,0,GLenum,pname,,in,fixed,
11+
void,glGetQueryObjectivANGLE,1,"GLint *",params,,???,???,???
12+
void,glGetQueryObjectui64vANGLE,0,GLuint,id,,in,fixed,
13+
void,glGetQueryObjectui64vANGLE,0,GLenum,pname,,in,fixed,
14+
void,glGetQueryObjectui64vANGLE,1,"GLuint64 *",params,,???,???,???
15+
void,glGetQueryObjectuivANGLE,0,GLuint,id,,in,fixed,
16+
void,glGetQueryObjectuivANGLE,0,GLenum,pname,,in,fixed,
17+
void,glGetQueryObjectuivANGLE,1,"GLuint *",params,,???,???,???
18+
void,glGetQueryivANGLE,0,GLenum,target,,in,fixed,
19+
void,glGetQueryivANGLE,0,GLenum,pname,,in,fixed,
20+
void,glGetQueryivANGLE,1,"GLint *",params,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glGetTranslatedShaderSourceANGLE,0,GLuint,shader,,in,fixed,
3+
void,glGetTranslatedShaderSourceANGLE,0,GLsizei,bufsize,,in,fixed,
4+
void,glGetTranslatedShaderSourceANGLE,1,"GLsizei *",length,,???,???,???
5+
void,glGetTranslatedShaderSourceANGLE,1,"GLchar *",source,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glElementPointerAPPLE,0,GLenum,type,,in,fixed,
3+
void,glElementPointerAPPLE,1,"const void *",pointer,,???,???,???
4+
void,glMultiDrawElementArrayAPPLE,0,GLenum,mode,,in,fixed,
5+
void,glMultiDrawElementArrayAPPLE,1,"const GLint *",first,,???,???,???
6+
void,glMultiDrawElementArrayAPPLE,1,"const GLsizei *",count,,???,???,???
7+
void,glMultiDrawElementArrayAPPLE,0,GLsizei,primcount,,in,fixed,
8+
void,glMultiDrawRangeElementArrayAPPLE,0,GLenum,mode,,in,fixed,
9+
void,glMultiDrawRangeElementArrayAPPLE,0,GLuint,start,,in,fixed,
10+
void,glMultiDrawRangeElementArrayAPPLE,0,GLuint,end,,in,fixed,
11+
void,glMultiDrawRangeElementArrayAPPLE,1,"const GLint *",first,,???,???,???
12+
void,glMultiDrawRangeElementArrayAPPLE,1,"const GLsizei *",count,,???,???,???
13+
void,glMultiDrawRangeElementArrayAPPLE,0,GLsizei,primcount,,in,fixed,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDeleteFencesAPPLE,0,GLsizei,n,,in,fixed,
3+
void,glDeleteFencesAPPLE,1,"const GLuint *",fences,,???,???,???
4+
void,glGenFencesAPPLE,0,GLsizei,n,,in,fixed,
5+
void,glGenFencesAPPLE,1,"GLuint *",fences,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glGetObjectParameterivAPPLE,0,GLenum,objectType,,in,fixed,
3+
void,glGetObjectParameterivAPPLE,0,GLuint,name,,in,fixed,
4+
void,glGetObjectParameterivAPPLE,0,GLenum,pname,,in,fixed,
5+
void,glGetObjectParameterivAPPLE,1,"GLint *",params,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glGetTexParameterPointervAPPLE,0,GLenum,target,,in,fixed,
3+
void,glGetTexParameterPointervAPPLE,0,GLenum,pname,,in,fixed,
4+
void,glGetTexParameterPointervAPPLE,2,"void * *",params,,???,???,???
5+
void,glTextureRangeAPPLE,0,GLenum,target,,in,fixed,
6+
void,glTextureRangeAPPLE,0,GLsizei,length,,in,fixed,
7+
void,glTextureRangeAPPLE,1,"void *",pointer,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDeleteVertexArraysAPPLE,0,GLsizei,n,,in,fixed,
3+
void,glDeleteVertexArraysAPPLE,1,"const GLuint *",arrays,,???,???,???
4+
void,glGenVertexArraysAPPLE,0,GLsizei,n,,in,fixed,
5+
void,glGenVertexArraysAPPLE,1,"const GLuint *",arrays,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glFlushVertexArrayRangeAPPLE,0,GLsizei,length,,in,fixed,
3+
void,glFlushVertexArrayRangeAPPLE,1,"void *",pointer,,???,???,???
4+
void,glVertexArrayRangeAPPLE,0,GLsizei,length,,in,fixed,
5+
void,glVertexArrayRangeAPPLE,1,"void *",pointer,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glMapVertexAttrib1dAPPLE,0,GLuint,index,,in,fixed,
3+
void,glMapVertexAttrib1dAPPLE,0,GLuint,size,,in,fixed,
4+
void,glMapVertexAttrib1dAPPLE,0,GLdouble,u1,,in,fixed,
5+
void,glMapVertexAttrib1dAPPLE,0,GLdouble,u2,,in,fixed,
6+
void,glMapVertexAttrib1dAPPLE,0,GLint,stride,,in,fixed,
7+
void,glMapVertexAttrib1dAPPLE,0,GLint,order,,in,fixed,
8+
void,glMapVertexAttrib1dAPPLE,1,"const GLdouble *",points,,???,???,???
9+
void,glMapVertexAttrib1fAPPLE,0,GLuint,index,,in,fixed,
10+
void,glMapVertexAttrib1fAPPLE,0,GLuint,size,,in,fixed,
11+
void,glMapVertexAttrib1fAPPLE,0,GLfloat,u1,,in,fixed,
12+
void,glMapVertexAttrib1fAPPLE,0,GLfloat,u2,,in,fixed,
13+
void,glMapVertexAttrib1fAPPLE,0,GLint,stride,,in,fixed,
14+
void,glMapVertexAttrib1fAPPLE,0,GLint,order,,in,fixed,
15+
void,glMapVertexAttrib1fAPPLE,1,"const GLfloat *",points,,???,???,???
16+
void,glMapVertexAttrib2dAPPLE,0,GLuint,index,,in,fixed,
17+
void,glMapVertexAttrib2dAPPLE,0,GLuint,size,,in,fixed,
18+
void,glMapVertexAttrib2dAPPLE,0,GLdouble,u1,,in,fixed,
19+
void,glMapVertexAttrib2dAPPLE,0,GLdouble,u2,,in,fixed,
20+
void,glMapVertexAttrib2dAPPLE,0,GLint,ustride,,in,fixed,
21+
void,glMapVertexAttrib2dAPPLE,0,GLint,uorder,,in,fixed,
22+
void,glMapVertexAttrib2dAPPLE,0,GLdouble,v1,,in,fixed,
23+
void,glMapVertexAttrib2dAPPLE,0,GLdouble,v2,,in,fixed,
24+
void,glMapVertexAttrib2dAPPLE,0,GLint,vstride,,in,fixed,
25+
void,glMapVertexAttrib2dAPPLE,0,GLint,vorder,,in,fixed,
26+
void,glMapVertexAttrib2dAPPLE,1,"const GLdouble *",points,,???,???,???
27+
void,glMapVertexAttrib2fAPPLE,0,GLuint,index,,in,fixed,
28+
void,glMapVertexAttrib2fAPPLE,0,GLuint,size,,in,fixed,
29+
void,glMapVertexAttrib2fAPPLE,0,GLfloat,u1,,in,fixed,
30+
void,glMapVertexAttrib2fAPPLE,0,GLfloat,u2,,in,fixed,
31+
void,glMapVertexAttrib2fAPPLE,0,GLint,ustride,,in,fixed,
32+
void,glMapVertexAttrib2fAPPLE,0,GLint,uorder,,in,fixed,
33+
void,glMapVertexAttrib2fAPPLE,0,GLfloat,v1,,in,fixed,
34+
void,glMapVertexAttrib2fAPPLE,0,GLfloat,v2,,in,fixed,
35+
void,glMapVertexAttrib2fAPPLE,0,GLint,vstride,,in,fixed,
36+
void,glMapVertexAttrib2fAPPLE,0,GLint,vorder,,in,fixed,
37+
void,glMapVertexAttrib2fAPPLE,1,"const GLfloat *",points,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glGetShaderPrecisionFormat,0,GLenum,shadertype,,in,fixed,
3+
void,glGetShaderPrecisionFormat,0,GLenum,precisiontype,,in,fixed,
4+
void,glGetShaderPrecisionFormat,1,"GLint *",range,,???,???,???
5+
void,glGetShaderPrecisionFormat,1,"GLint *",precision,,???,???,???
6+
void,glShaderBinary,0,GLsizei,count,,in,fixed,
7+
void,glShaderBinary,1,"const GLuint *",shaders,,???,???,???
8+
void,glShaderBinary,0,GLenum,binaryformat,,in,fixed,
9+
void,glShaderBinary,1,"const void *",binary,,???,???,???
10+
void,glShaderBinary,0,GLsizei,length,,in,fixed,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glDrawElementsInstancedBaseInstance,0,GLenum,mode,,in,fixed,
3+
void,glDrawElementsInstancedBaseInstance,0,GLsizei,count,,in,fixed,
4+
void,glDrawElementsInstancedBaseInstance,0,GLenum,type,,in,fixed,
5+
void,glDrawElementsInstancedBaseInstance,1,"const void *",indices,,???,???,???
6+
void,glDrawElementsInstancedBaseInstance,0,GLsizei,primcount,,in,fixed,
7+
void,glDrawElementsInstancedBaseInstance,0,GLuint,baseinstance,,in,fixed,
8+
void,glDrawElementsInstancedBaseVertexBaseInstance,0,GLenum,mode,,in,fixed,
9+
void,glDrawElementsInstancedBaseVertexBaseInstance,0,GLsizei,count,,in,fixed,
10+
void,glDrawElementsInstancedBaseVertexBaseInstance,0,GLenum,type,,in,fixed,
11+
void,glDrawElementsInstancedBaseVertexBaseInstance,1,"const void *",indices,,???,???,???
12+
void,glDrawElementsInstancedBaseVertexBaseInstance,0,GLsizei,primcount,,in,fixed,
13+
void,glDrawElementsInstancedBaseVertexBaseInstance,0,GLint,basevertex,,in,fixed,
14+
void,glDrawElementsInstancedBaseVertexBaseInstance,0,GLuint,baseinstance,,in,fixed,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glGetVertexAttribLui64vARB,0,GLuint,index,,in,fixed,
3+
void,glGetVertexAttribLui64vARB,0,GLenum,pname,,in,fixed,
4+
void,glGetVertexAttribLui64vARB,1,"GLuint64EXT *",params,,???,???,???
5+
void,glProgramUniformHandleui64vARB,0,GLuint,program,,in,fixed,
6+
void,glProgramUniformHandleui64vARB,0,GLint,location,,in,fixed,
7+
void,glProgramUniformHandleui64vARB,0,GLsizei,count,,in,fixed,
8+
void,glProgramUniformHandleui64vARB,1,"const GLuint64 *",values,,???,???,???
9+
void,glUniformHandleui64vARB,0,GLint,location,,in,fixed,
10+
void,glUniformHandleui64vARB,0,GLsizei,count,,in,fixed,
11+
void,glUniformHandleui64vARB,1,"const GLuint64 *",value,,???,???,???
12+
void,glVertexAttribL1ui64vARB,0,GLuint,index,,in,fixed,
13+
void,glVertexAttribL1ui64vARB,1,"const GLuint64EXT *",v,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glBindFragDataLocationIndexed,0,GLuint,program,,in,fixed,
3+
void,glBindFragDataLocationIndexed,0,GLuint,colorNumber,,in,fixed,
4+
void,glBindFragDataLocationIndexed,0,GLuint,index,,in,fixed,
5+
void,glBindFragDataLocationIndexed,1,"const GLchar *",name,,???,???,???
6+
GLint,glGetFragDataIndex,0,GLuint,program,,in,fixed,
7+
GLint,glGetFragDataIndex,1,"const GLchar *",name,,???,???,???
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
res_type,func_name,pointer_depth,type,arg_name,array_size,inout,width,notes
2+
void,glBufferStorage,0,GLenum,target,,in,fixed,
3+
void,glBufferStorage,0,GLsizeiptr,size,,in,fixed,
4+
void,glBufferStorage,1,"const void *",data,,???,???,???
5+
void,glBufferStorage,0,GLbitfield,flags,,in,fixed,
6+
void,glNamedBufferStorageEXT,0,GLuint,buffer,,in,fixed,
7+
void,glNamedBufferStorageEXT,0,GLsizeiptr,size,,in,fixed,
8+
void,glNamedBufferStorageEXT,1,"const void *",data,,???,???,???
9+
void,glNamedBufferStorageEXT,0,GLbitfield,flags,,in,fixed,

0 commit comments

Comments
 (0)