mesa-gl:moved to "simplified /usr" and towards RCS
[nyanlinux.git] / builders / mesa-gl-amd-sh-7bd1d4848cf755257644e9b79289a364db659026 / contrib / generators_egl.sh
blob94599985c078a0dd33d947e2ac39a0316faeff02
1 printf "Running egl code generators-->\n"
2 mkdir -p $build_dir/src/egl/drivers/dri2
3 # fix gbm/dri level 2/drm egl platform (because most of the builds do enable
4 # the additional x11/dri3/drm egl platform)
5 cp -f $src_dir/src/egl/drivers/dri2/egl_dri2.c $build_dir/src/egl/drivers/dri2
6 patch -i $script_dir/egl_dri2.c.patch $build_dir/src/egl/drivers/dri2/egl_dri2.c &
7 #===================================================================================================
8 # glvnd
9 mkdir -p $build_dir/src/egl/generate
10 #---------------------------------------------------------------------------------------------------
11 $python3 $src_dir/src/egl/generate/gen_egl_dispatch.py \
12 source \
13 $src_dir/src/egl/generate/egl.xml \
14 $src_dir/src/egl/generate/egl_other.xml \
15 >$build_dir/src/egl/generate/g_egldispatchstubs.c &
16 #---------------------------------------------------------------------------------------------------
17 $python3 $src_dir/src/egl/generate/gen_egl_dispatch.py \
18 header \
19 $src_dir/src/egl/generate/egl.xml \
20 $src_dir/src/egl/generate/egl_other.xml \
21 >$build_dir/src/egl/generate/g_egldispatchstubs.h &
22 #---------------------------------------------------------------------------------------------------
23 printf "<--egl code generation done\n"