diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-17 08:05:28 -0500 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-11-17 08:05:28 -0500 |
| commit | 86ee35bd03a51abf115812540dcd6d711d79e9e9 (patch) | |
| tree | 4fe2787e2019ff3db93d1333253af34ed6fa49f2 /tools/guest-diag/push_gl_tools.sh | |
| parent | e6d24f0f1c2d1d459bad2ada690c6778fefbe085 (diff) | |
| download | open-iov-86ee35bd03a51abf115812540dcd6d711d79e9e9.tar.gz open-iov-86ee35bd03a51abf115812540dcd6d711d79e9e9.zip | |
chore: sync work tree before video production run
Diffstat (limited to 'tools/guest-diag/push_gl_tools.sh')
| -rwxr-xr-x | tools/guest-diag/push_gl_tools.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/guest-diag/push_gl_tools.sh b/tools/guest-diag/push_gl_tools.sh index 4ea5665..06f7478 100755 --- a/tools/guest-diag/push_gl_tools.sh +++ b/tools/guest-diag/push_gl_tools.sh @@ -37,11 +37,22 @@ if [ ! -f "$BUILD/gz_es.so" ] && [ "$DRY_RUN" != "1" ]; then echo "BUILD-FAIL gz_es.so (EGL/GLESv2 dev headers needed)" >&2 fi fi +# gz_view displays the shim's published frames in an X11 window on the +# guest desktop (capture surface for the real-NVIDIA GZDoom run). +if [ ! -f "$BUILD/gz_view" ] && [ "$DRY_RUN" != "1" ]; then + mkdir -p "$BUILD" + if gcc -O2 -o "$BUILD/gz_view" "$HERE/gz_view.c" -lX11; then + echo "BUILD $BUILD/gz_view" + else + echo "BUILD-FAIL gz_view (X11 dev headers needed)" >&2 + fi +fi FIXED=( "$BUILD/gl_frames" "$BUILD/gz_pbuf.so" "$BUILD/gz_es.so" + "$BUILD/gz_view" "$BUILD/sdl_cap.so" "$BUILD/test_tri" "$HERE/guest_mode.sh" |
