tried (and failed) to get a white rectangle placeholder drawing, also streaming btw

This commit is contained in:
Rhys Tumelty
2026-08-24 16:18:39 +01:00
parent dacbb2e043
commit 97ff779911
17 changed files with 163 additions and 23 deletions

View File

@@ -3,4 +3,5 @@ entry_symbol = "gdvapi_library_init"
compatibility_minimum = "4.7"
[libraries]
linux.x86_64 = "res://bin/linux/gdvapi.linux.template_debug.x86_64.so"
linux.editor.x86_64 = "res://bin/linux/gdvapi.linux.editor.x86_64.so"
linux.template_debug.x86_64 = "res://bin/linux/gdvapi.linux.template_debug.x86_64.so"

View File

@@ -2,4 +2,5 @@ extends Node
func _ready() -> void:
$FileVideoStream.begin("res://badapple.mov")
#$GDVAPIVideoStream.begin("udp://0.0.0.0:5000")
pass

View File

@@ -5,4 +5,6 @@
[node name="Node" type="Node" unique_id=2080300232]
script = ExtResource("1_jdh55")
[node name="FileVideoStream" type="FileVideoStream" parent="." unique_id=330752336]
[node name="GDVAPIVideoStream" type="GDVAPIVideoStream" parent="." unique_id=1053894928]
offset_right = 40.0
offset_bottom = 40.0

View File

@@ -0,0 +1,49 @@
[runnable_presets]
Linux="Linux"
[preset.0]
name="Linux"
platform="Linux"
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="exports/godot cpp template.x86_64"
patches=PackedStringArray()
patch_delta_encoding=false
patch_delta_compression_level_zstd=19
patch_delta_min_reduction=0.1
patch_delta_include_filters="*"
patch_delta_exclude_filters=""
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
encrypt_pck=false
encrypt_directory=false
script_export_mode=2
[preset.0.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
shader_baker/enabled=false
binary_format/architecture="x86_64"
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="#!/usr/bin/env bash
export DISPLAY=:0
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
\"{temp_dir}/{exe_name}\" {cmd_args}"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
pkill -x -f \"{temp_dir}/{exe_name} {cmd_args}\"
rm -rf \"{temp_dir}\""

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
#!/bin/sh
printf '\033c\033]0;%s\a' godot cpp template
base_path="$(dirname "$(realpath "$0")")"
"$base_path/godot cpp template.x86_64" "$@"

Binary file not shown.

View File

@@ -18,3 +18,8 @@ config/name="godot cpp template"
run/main_scene="uid://dh0oj81pufivs"
config/features=PackedStringArray("4.7", "Forward Plus")
config/icon="res://icon.svg"
[display]
window/size/viewport_width=1920
window/size/viewport_height=1080