Skip to content

parse signatures of functions with pointers into CSV files to be filled out #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions signatures/make_issue_markup.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
use strictures;
use IO::All -binary;
use Text::CSV_XS qw( csv );
use Devel::Confess;
use FindBin '$Bin';

run();

sub run {
my $target_dir = "$Bin/pointer_functions_by_feature";
my @files = io( $target_dir )->all_files;
for my $file ( @files ) {
my @args = @{csv( in => $file, auto_diag => 9 )};
shift @args;
my %functions = map {$_->[0], 1} @args;
my @functions = sort keys %functions;
print " * **".($file->filename)."** : @functions\n - [ ] started\n - [ ] done\n";
}
}
108 changes: 108 additions & 0 deletions signatures/parse_signatures.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
use strictures;
use IO::All -binary;
use Text::CSV_XS 1.27 qw( csv );
use Devel::Confess;
use FindBin '$Bin';

run();

sub run {
my $target_dir = "$Bin/pointer_functions_by_feature";
mkdir $target_dir if not -d $target_dir;
my %features;
push @{ $features{ $_->{feature} } }, $_ for eval io( "$Bin/badp-XS-sigs-numptr.pl" )->all;
my $sigpars = Signature::Parser->new;
for my $feature ( sort keys %features ) {
my @functions = @{ $features{$feature} };
my $files = 1;
my $pointers = 0;
my @arguments;
my @funcs_to_do = sort { $a->{name} cmp $b->{name} } @functions;
for my $i ( 0 .. $#funcs_to_do ) {
my $function = $funcs_to_do[$i];
my @sig_parts = @{ $sigpars->from_string( $function->{restype} . " res, " . $function->{signature} ) };
$sig_parts[0]{name} = undef;
$sig_parts[$_]{pos} = $_ - 1 for 0 .. $#sig_parts;
add_raw_line( \@arguments, $function->{name}, $_ ) for @sig_parts;
$pointers += $function->{nptr};

# try to batch things by dumping after 10 pointers (except for the very last loop)
next if $i == $#funcs_to_do or $pointers <= 10;
dump_arguments( $feature, \@arguments, \$files, \$pointers, $target_dir );
}
$files = 0 if $files == 1; # don't add series numbers to filename if there's only one file
dump_arguments( $feature, \@arguments, \$files, \$pointers, $target_dir ) if @arguments;
}
return;
}

sub add_raw_line {
my ( $arguments, $function, $part ) = @_;
my $array_size = $part->{array_size} || $part->{pointer_depth} ? "???" : "N/A";
my $inout = $part->{pos} == -1 ? "out" : $part->{pointer_depth} ? "???" : "in";
my $width = $part->{pointer_depth} ? "???" : "fixed";
my $notes = ( $part->{pos} == -1 and $part->{type} eq "void" ) ? "N/A" : $part->{pointer_depth} ? "???" : "??";
push @{$arguments}, [
map defined() ? $_ : "N/A", #
$function, @{$part}{qw( pos pointer_depth type name )}, $array_size, $inout, $width, $notes
];
return;
}

sub dump_arguments {
my ( $feature, $arguments, $files, $pointers, $target_dir ) = @_;
my $file_number = ${$files} ? sprintf( ".%04d", ${$files} ) : "";
my $target = "$target_dir/$feature$file_number.csv";
my @header = qw( func_name arg_pos pointer_depth type arg_name array_size inout width notes );
csv( in => [ \@header, @{$arguments} ], out => $target, auto_diag => 9 );
${$pointers} = 0;
@{$arguments} = ();
${$files}++;
return;
}

package Signature::Parser;

use parent 'Parser::MGC';
use curry;

sub parse {
my ( $self ) = @_;

my @type_words = (
qw( const void ),
map "GL$_", qw( void boolean enum short ushort byte ubyte
sizei sizeiptr sizeiptrARB
float double half char bitfield fixed
DEBUGPROC DEBUGPROCAMD DEBUGPROCARB handleARB charARB sync clampd clampf
vdpauSurfaceNV VULKANPROCNV
),
qw( int uint intptr intptrARB int64 int64EXT uint64 uint64EXT ) # how many fucking ints do you need, GL
);

return $self->list_of(
",",
sub {
my $type_parts = $self->any_of(
$self->curry::token_kw( qw( GLsync ) ), # there's one instance of GLsync GLsync
$self->curry::sequence_of(
sub {
$self->any_of(
$self->curry::token_kw( @type_words ), #
$self->curry::expect( "*" ),
);
}
),
);
$type_parts = [$type_parts] if not ref $type_parts;
my $pointer_depth = 0;
$pointer_depth += $_ =~ /\*/ for @{$type_parts};
my $type = join " ", @{$type_parts};
my $name = $self->token_ident;
my $size = # halcy says [16] can be a mat4
$self->maybe( $self->curry::scope_of( "[", $self->curry::token_number, "]" ) );
$size = "INF" if not $size and $self->maybe( $self->curry::expect( "[]" ) );
return { type => $type, name => $name, pointer_depth => $pointer_depth, array_size => $size };
}
);
}
24 changes: 24 additions & 0 deletions signatures/pointer_functions_by_feature/GL_AMD_debug_output.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDebugMessageCallbackAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glDebugMessageCallbackAMD,0,0,GLDEBUGPROCAMD,callback,N/A,in,fixed,??
glDebugMessageCallbackAMD,1,1,"void *",userParam,???,???,???,???
glDebugMessageEnableAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glDebugMessageEnableAMD,0,0,GLenum,category,N/A,in,fixed,??
glDebugMessageEnableAMD,1,0,GLenum,severity,N/A,in,fixed,??
glDebugMessageEnableAMD,2,0,GLsizei,count,N/A,in,fixed,??
glDebugMessageEnableAMD,3,1,"const GLuint *",ids,???,???,???,???
glDebugMessageEnableAMD,4,0,GLboolean,enabled,N/A,in,fixed,??
glDebugMessageInsertAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glDebugMessageInsertAMD,0,0,GLenum,category,N/A,in,fixed,??
glDebugMessageInsertAMD,1,0,GLenum,severity,N/A,in,fixed,??
glDebugMessageInsertAMD,2,0,GLuint,id,N/A,in,fixed,??
glDebugMessageInsertAMD,3,0,GLsizei,length,N/A,in,fixed,??
glDebugMessageInsertAMD,4,1,"const GLchar *",buf,???,???,???,???
glGetDebugMessageLogAMD,-1,0,GLuint,N/A,N/A,out,fixed,??
glGetDebugMessageLogAMD,0,0,GLuint,count,N/A,in,fixed,??
glGetDebugMessageLogAMD,1,0,GLsizei,bufsize,N/A,in,fixed,??
glGetDebugMessageLogAMD,2,1,"GLenum *",categories,???,???,???,???
glGetDebugMessageLogAMD,3,1,"GLuint *",severities,???,???,???,???
glGetDebugMessageLogAMD,4,1,"GLuint *",ids,???,???,???,???
glGetDebugMessageLogAMD,5,1,"GLsizei *",lengths,???,???,???,???
glGetDebugMessageLogAMD,6,1,"GLchar *",message,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glMultiDrawArraysIndirectAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glMultiDrawArraysIndirectAMD,0,0,GLenum,mode,N/A,in,fixed,??
glMultiDrawArraysIndirectAMD,1,1,"const void *",indirect,???,???,???,???
glMultiDrawArraysIndirectAMD,2,0,GLsizei,primcount,N/A,in,fixed,??
glMultiDrawArraysIndirectAMD,3,0,GLsizei,stride,N/A,in,fixed,??
glMultiDrawElementsIndirectAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glMultiDrawElementsIndirectAMD,0,0,GLenum,mode,N/A,in,fixed,??
glMultiDrawElementsIndirectAMD,1,0,GLenum,type,N/A,in,fixed,??
glMultiDrawElementsIndirectAMD,2,1,"const void *",indirect,???,???,???,???
glMultiDrawElementsIndirectAMD,3,0,GLsizei,primcount,N/A,in,fixed,??
glMultiDrawElementsIndirectAMD,4,0,GLsizei,stride,N/A,in,fixed,??
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDeleteNamesAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glDeleteNamesAMD,0,0,GLenum,identifier,N/A,in,fixed,??
glDeleteNamesAMD,1,0,GLuint,num,N/A,in,fixed,??
glDeleteNamesAMD,2,1,"const GLuint *",names,???,???,???,???
glGenNamesAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGenNamesAMD,0,0,GLenum,identifier,N/A,in,fixed,??
glGenNamesAMD,1,0,GLuint,num,N/A,in,fixed,??
glGenNamesAMD,2,1,"GLuint *",names,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDeletePerfMonitorsAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glDeletePerfMonitorsAMD,0,0,GLsizei,n,N/A,in,fixed,??
glDeletePerfMonitorsAMD,1,1,"GLuint *",monitors,???,???,???,???
glGenPerfMonitorsAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGenPerfMonitorsAMD,0,0,GLsizei,n,N/A,in,fixed,??
glGenPerfMonitorsAMD,1,1,"GLuint *",monitors,???,???,???,???
glGetPerfMonitorCounterDataAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGetPerfMonitorCounterDataAMD,0,0,GLuint,monitor,N/A,in,fixed,??
glGetPerfMonitorCounterDataAMD,1,0,GLenum,pname,N/A,in,fixed,??
glGetPerfMonitorCounterDataAMD,2,0,GLsizei,dataSize,N/A,in,fixed,??
glGetPerfMonitorCounterDataAMD,3,1,"GLuint *",data,???,???,???,???
glGetPerfMonitorCounterDataAMD,4,1,"GLint *",bytesWritten,???,???,???,???
glGetPerfMonitorCounterInfoAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGetPerfMonitorCounterInfoAMD,0,0,GLuint,group,N/A,in,fixed,??
glGetPerfMonitorCounterInfoAMD,1,0,GLuint,counter,N/A,in,fixed,??
glGetPerfMonitorCounterInfoAMD,2,0,GLenum,pname,N/A,in,fixed,??
glGetPerfMonitorCounterInfoAMD,3,1,"void *",data,???,???,???,???
glGetPerfMonitorCounterStringAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGetPerfMonitorCounterStringAMD,0,0,GLuint,group,N/A,in,fixed,??
glGetPerfMonitorCounterStringAMD,1,0,GLuint,counter,N/A,in,fixed,??
glGetPerfMonitorCounterStringAMD,2,0,GLsizei,bufSize,N/A,in,fixed,??
glGetPerfMonitorCounterStringAMD,3,1,"GLsizei *",length,???,???,???,???
glGetPerfMonitorCounterStringAMD,4,1,"GLchar *",counterString,???,???,???,???
glGetPerfMonitorCountersAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGetPerfMonitorCountersAMD,0,0,GLuint,group,N/A,in,fixed,??
glGetPerfMonitorCountersAMD,1,1,"GLint *",numCounters,???,???,???,???
glGetPerfMonitorCountersAMD,2,1,"GLint *",maxActiveCounters,???,???,???,???
glGetPerfMonitorCountersAMD,3,0,GLsizei,countersSize,N/A,in,fixed,??
glGetPerfMonitorCountersAMD,4,1,"GLuint *",counters,???,???,???,???
glGetPerfMonitorGroupStringAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGetPerfMonitorGroupStringAMD,0,0,GLuint,group,N/A,in,fixed,??
glGetPerfMonitorGroupStringAMD,1,0,GLsizei,bufSize,N/A,in,fixed,??
glGetPerfMonitorGroupStringAMD,2,1,"GLsizei *",length,???,???,???,???
glGetPerfMonitorGroupStringAMD,3,1,"GLchar *",groupString,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glGetPerfMonitorGroupsAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glGetPerfMonitorGroupsAMD,0,1,"GLint *",numGroups,???,???,???,???
glGetPerfMonitorGroupsAMD,1,0,GLsizei,groupsSize,N/A,in,fixed,??
glGetPerfMonitorGroupsAMD,2,1,"GLuint *",groups,???,???,???,???
glSelectPerfMonitorCountersAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glSelectPerfMonitorCountersAMD,0,0,GLuint,monitor,N/A,in,fixed,??
glSelectPerfMonitorCountersAMD,1,0,GLboolean,enable,N/A,in,fixed,??
glSelectPerfMonitorCountersAMD,2,0,GLuint,group,N/A,in,fixed,??
glSelectPerfMonitorCountersAMD,3,0,GLint,numCounters,N/A,in,fixed,??
glSelectPerfMonitorCountersAMD,4,1,"GLuint *",counterList,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glSetMultisamplefvAMD,-1,0,void,N/A,N/A,out,fixed,N/A
glSetMultisamplefvAMD,0,0,GLenum,pname,N/A,in,fixed,??
glSetMultisamplefvAMD,1,0,GLuint,index,N/A,in,fixed,??
glSetMultisamplefvAMD,2,1,"const GLfloat *",val,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDrawElementsInstancedANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glDrawElementsInstancedANGLE,0,0,GLenum,mode,N/A,in,fixed,??
glDrawElementsInstancedANGLE,1,0,GLsizei,count,N/A,in,fixed,??
glDrawElementsInstancedANGLE,2,0,GLenum,type,N/A,in,fixed,??
glDrawElementsInstancedANGLE,3,1,"const void *",indices,???,???,???,???
glDrawElementsInstancedANGLE,4,0,GLsizei,primcount,N/A,in,fixed,??
27 changes: 27 additions & 0 deletions signatures/pointer_functions_by_feature/GL_ANGLE_timer_query.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDeleteQueriesANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glDeleteQueriesANGLE,0,0,GLsizei,n,N/A,in,fixed,??
glDeleteQueriesANGLE,1,1,"const GLuint *",ids,???,???,???,???
glGenQueriesANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGenQueriesANGLE,0,0,GLsizei,n,N/A,in,fixed,??
glGenQueriesANGLE,1,1,"GLuint *",ids,???,???,???,???
glGetQueryObjecti64vANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetQueryObjecti64vANGLE,0,0,GLuint,id,N/A,in,fixed,??
glGetQueryObjecti64vANGLE,1,0,GLenum,pname,N/A,in,fixed,??
glGetQueryObjecti64vANGLE,2,1,"GLint64 *",params,???,???,???,???
glGetQueryObjectivANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetQueryObjectivANGLE,0,0,GLuint,id,N/A,in,fixed,??
glGetQueryObjectivANGLE,1,0,GLenum,pname,N/A,in,fixed,??
glGetQueryObjectivANGLE,2,1,"GLint *",params,???,???,???,???
glGetQueryObjectui64vANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetQueryObjectui64vANGLE,0,0,GLuint,id,N/A,in,fixed,??
glGetQueryObjectui64vANGLE,1,0,GLenum,pname,N/A,in,fixed,??
glGetQueryObjectui64vANGLE,2,1,"GLuint64 *",params,???,???,???,???
glGetQueryObjectuivANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetQueryObjectuivANGLE,0,0,GLuint,id,N/A,in,fixed,??
glGetQueryObjectuivANGLE,1,0,GLenum,pname,N/A,in,fixed,??
glGetQueryObjectuivANGLE,2,1,"GLuint *",params,???,???,???,???
glGetQueryivANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetQueryivANGLE,0,0,GLenum,target,N/A,in,fixed,??
glGetQueryivANGLE,1,0,GLenum,pname,N/A,in,fixed,??
glGetQueryivANGLE,2,1,"GLint *",params,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glGetTranslatedShaderSourceANGLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetTranslatedShaderSourceANGLE,0,0,GLuint,shader,N/A,in,fixed,??
glGetTranslatedShaderSourceANGLE,1,0,GLsizei,bufsize,N/A,in,fixed,??
glGetTranslatedShaderSourceANGLE,2,1,"GLsizei *",length,???,???,???,???
glGetTranslatedShaderSourceANGLE,3,1,"GLchar *",source,???,???,???,???
16 changes: 16 additions & 0 deletions signatures/pointer_functions_by_feature/GL_APPLE_element_array.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glElementPointerAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glElementPointerAPPLE,0,0,GLenum,type,N/A,in,fixed,??
glElementPointerAPPLE,1,1,"const void *",pointer,???,???,???,???
glMultiDrawElementArrayAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glMultiDrawElementArrayAPPLE,0,0,GLenum,mode,N/A,in,fixed,??
glMultiDrawElementArrayAPPLE,1,1,"const GLint *",first,???,???,???,???
glMultiDrawElementArrayAPPLE,2,1,"const GLsizei *",count,???,???,???,???
glMultiDrawElementArrayAPPLE,3,0,GLsizei,primcount,N/A,in,fixed,??
glMultiDrawRangeElementArrayAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glMultiDrawRangeElementArrayAPPLE,0,0,GLenum,mode,N/A,in,fixed,??
glMultiDrawRangeElementArrayAPPLE,1,0,GLuint,start,N/A,in,fixed,??
glMultiDrawRangeElementArrayAPPLE,2,0,GLuint,end,N/A,in,fixed,??
glMultiDrawRangeElementArrayAPPLE,3,1,"const GLint *",first,???,???,???,???
glMultiDrawRangeElementArrayAPPLE,4,1,"const GLsizei *",count,???,???,???,???
glMultiDrawRangeElementArrayAPPLE,5,0,GLsizei,primcount,N/A,in,fixed,??
7 changes: 7 additions & 0 deletions signatures/pointer_functions_by_feature/GL_APPLE_fence.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDeleteFencesAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glDeleteFencesAPPLE,0,0,GLsizei,n,N/A,in,fixed,??
glDeleteFencesAPPLE,1,1,"const GLuint *",fences,???,???,???,???
glGenFencesAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGenFencesAPPLE,0,0,GLsizei,n,N/A,in,fixed,??
glGenFencesAPPLE,1,1,"GLuint *",fences,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glGetObjectParameterivAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetObjectParameterivAPPLE,0,0,GLenum,objectType,N/A,in,fixed,??
glGetObjectParameterivAPPLE,1,0,GLuint,name,N/A,in,fixed,??
glGetObjectParameterivAPPLE,2,0,GLenum,pname,N/A,in,fixed,??
glGetObjectParameterivAPPLE,3,1,"GLint *",params,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glGetTexParameterPointervAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGetTexParameterPointervAPPLE,0,0,GLenum,target,N/A,in,fixed,??
glGetTexParameterPointervAPPLE,1,0,GLenum,pname,N/A,in,fixed,??
glGetTexParameterPointervAPPLE,2,2,"void * *",params,???,???,???,???
glTextureRangeAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glTextureRangeAPPLE,0,0,GLenum,target,N/A,in,fixed,??
glTextureRangeAPPLE,1,0,GLsizei,length,N/A,in,fixed,??
glTextureRangeAPPLE,2,1,"void *",pointer,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glDeleteVertexArraysAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glDeleteVertexArraysAPPLE,0,0,GLsizei,n,N/A,in,fixed,??
glDeleteVertexArraysAPPLE,1,1,"const GLuint *",arrays,???,???,???,???
glGenVertexArraysAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glGenVertexArraysAPPLE,0,0,GLsizei,n,N/A,in,fixed,??
glGenVertexArraysAPPLE,1,1,"const GLuint *",arrays,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glFlushVertexArrayRangeAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glFlushVertexArrayRangeAPPLE,0,0,GLsizei,length,N/A,in,fixed,??
glFlushVertexArrayRangeAPPLE,1,1,"void *",pointer,???,???,???,???
glVertexArrayRangeAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glVertexArrayRangeAPPLE,0,0,GLsizei,length,N/A,in,fixed,??
glVertexArrayRangeAPPLE,1,1,"void *",pointer,???,???,???,???
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
func_name,arg_pos,pointer_depth,type,arg_name,array_size,inout,width,notes
glMapVertexAttrib1dAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glMapVertexAttrib1dAPPLE,0,0,GLuint,index,N/A,in,fixed,??
glMapVertexAttrib1dAPPLE,1,0,GLuint,size,N/A,in,fixed,??
glMapVertexAttrib1dAPPLE,2,0,GLdouble,u1,N/A,in,fixed,??
glMapVertexAttrib1dAPPLE,3,0,GLdouble,u2,N/A,in,fixed,??
glMapVertexAttrib1dAPPLE,4,0,GLint,stride,N/A,in,fixed,??
glMapVertexAttrib1dAPPLE,5,0,GLint,order,N/A,in,fixed,??
glMapVertexAttrib1dAPPLE,6,1,"const GLdouble *",points,???,???,???,???
glMapVertexAttrib1fAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glMapVertexAttrib1fAPPLE,0,0,GLuint,index,N/A,in,fixed,??
glMapVertexAttrib1fAPPLE,1,0,GLuint,size,N/A,in,fixed,??
glMapVertexAttrib1fAPPLE,2,0,GLfloat,u1,N/A,in,fixed,??
glMapVertexAttrib1fAPPLE,3,0,GLfloat,u2,N/A,in,fixed,??
glMapVertexAttrib1fAPPLE,4,0,GLint,stride,N/A,in,fixed,??
glMapVertexAttrib1fAPPLE,5,0,GLint,order,N/A,in,fixed,??
glMapVertexAttrib1fAPPLE,6,1,"const GLfloat *",points,???,???,???,???
glMapVertexAttrib2dAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glMapVertexAttrib2dAPPLE,0,0,GLuint,index,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,1,0,GLuint,size,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,2,0,GLdouble,u1,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,3,0,GLdouble,u2,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,4,0,GLint,ustride,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,5,0,GLint,uorder,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,6,0,GLdouble,v1,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,7,0,GLdouble,v2,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,8,0,GLint,vstride,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,9,0,GLint,vorder,N/A,in,fixed,??
glMapVertexAttrib2dAPPLE,10,1,"const GLdouble *",points,???,???,???,???
glMapVertexAttrib2fAPPLE,-1,0,void,N/A,N/A,out,fixed,N/A
glMapVertexAttrib2fAPPLE,0,0,GLuint,index,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,1,0,GLuint,size,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,2,0,GLfloat,u1,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,3,0,GLfloat,u2,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,4,0,GLint,ustride,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,5,0,GLint,uorder,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,6,0,GLfloat,v1,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,7,0,GLfloat,v2,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,8,0,GLint,vstride,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,9,0,GLint,vorder,N/A,in,fixed,??
glMapVertexAttrib2fAPPLE,10,1,"const GLfloat *",points,???,???,???,???
Loading