Refactor Live2D plugin and renderer for improved clarity and performance

- Updated EGL and OpenGL ES integration in gl.rs for better context management.
- Simplified error handling and logging in model.rs and plugin.rs.
- Enhanced texture handling and rendering logic in renderer.rs.
- Added a script to find Cargo configuration files for easier debugging.
- Removed unused imports and dead code to clean up the codebase.
This commit is contained in:
2026-07-07 16:47:28 +08:00
parent 86e36aa677
commit 8f2ff558eb
8 changed files with 215 additions and 334 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
cd /home/showen/Showen/ShowenV2
export PATH=/home/showen/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin:$PATH
cargo check 2>&1 | tail -80
echo "EXIT=$?"
cargo check 2>&1 | grep -E "^error" | head -60
echo "---SUMMARY---"
cargo check 2>&1 | tail -3