Skip to content

Commit ebfd01c

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

File tree

272 files changed

+6875
-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

+6875
-0
lines changed

signatures/parse_signatures.pl

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

0 commit comments

Comments
 (0)