feat(live2d): implement OpenGL ES 2.0 rendering backend with EGL support
- Add `gl.rs` for OpenGL ES 2.0 and EGL context management. - Introduce `mod.rs` to organize Live2D plugin modules. - Create `model.rs` for loading and managing Cubism models, including parameter handling and drawable data extraction. - Implement shader compilation and rendering context setup for Live2D models.
This commit is contained in:
21
.analyze.sh
Normal file
21
.analyze.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# 分析下载页面
|
||||
echo "=== Page size ==="
|
||||
wc -c /tmp/dl_page.html
|
||||
|
||||
echo "=== All URLs containing download/zip/native ==="
|
||||
grep -oiE 'https?://[^"'\'' <>]+(download|\.zip|native|cubism)[^"'\'' <>]*' /tmp/dl_page.html | sort -u | head -40
|
||||
|
||||
echo "=== Script sources ==="
|
||||
grep -oiE '<script[^>]*src="[^"]*"' /tmp/dl_page.html | head -20
|
||||
|
||||
echo "=== Data attributes ==="
|
||||
grep -oiE 'data-[a-z]+="[^"]*"' /tmp/dl_page.html | head -20
|
||||
|
||||
echo "=== Form actions ==="
|
||||
grep -oiE '<form[^>]*action="[^"]*"' /tmp/dl_page.html | head -10
|
||||
|
||||
echo "=== Any cubism.live2d URLs ==="
|
||||
grep -oiE 'https?://[a-z.]*live2d[^"'\'' <>]*' /tmp/dl_page.html | sort -u | head -30
|
||||
|
||||
echo "=== DONE ==="
|
||||
Reference in New Issue
Block a user