aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/gen/gen.bat
blob: 5759bacf353aeb154ccb48901eba50d1bda5195c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
echo on
glx_server_table.py -f gl_and_glX_API.xml > indirect_table.c
glx_proto_size.py -m size_h --only-set -h _INDIRECT_SIZE_H_ > indirect_size.h
glx_proto_size.py -m size_c --only-set > indirect_size.c
glx_proto_size.py -m size_h --only-get -h _INDIRECT_SIZE_GET_H_ > indirect_size_get.h
glx_proto_size.py -m size_c --only-get > indirect_size_get.c
glx_proto_size.py -m reqsize_c > indirect_reqsize.c
glx_proto_size.py -m reqsize_h --only-get -h _INDIRECT_SIZE_GET_H_ > indirect_reqsize.h
glx_proto_recv.py -m dispatch_c > indirect_dispatch.c
glx_proto_recv.py -m dispatch_c -s > indirect_dispatch_swap.c
glx_proto_recv.py -m dispatch_h -f gl_and_glX_API.xml -s > indirect_dispatch.h
gl_table.py -f gl_and_es_API.xml > glapitable.h
gl_gentable.py -f gl_and_es_API.xml > glapi_gentable.c
gl_table.py -f gl_and_es_API.xml -m remap_table > dispatch.h
rem gl_offsets.py > glapioffsets.h
gl_apitemp.py -f gl_and_es_API.xml > glapitemp.h
gl_procs.py -f gl_and_es_API.xml > glprocs.h

glX_proto_send.py -m proto > indirect.c
glX_proto_send.py -m init_h > indirect.h
glX_proto_send.py -m init_c > indirect_init.c

gl_enums.py -f gl_and_es_API.xml > enums.c
remap_helper.py -f gl_and_es_API.xml > remap_helper.h
copy ..\..\mapi\mapi_abi.py
mapi_abi.py --printer glapi --mode lib gl_and_es_API.xml > glapi_mapi_tmp.h