mesa-gl:moved to "simplified /usr" and towards RCS
[nyanlinux.git] / builders / mesa-gl-amd-sh-e14d1f5bc0a0579e8a9934c96a6ca22646da06ac / contrib / generators_egl.sh
blob05a916bfc475ccdc163e5ce026d42d2d715c6a11
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"