chore: checkpoint web Blender migration source, tools and docs
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-10 11:18:01 +08:00
parent 122142c26c
commit f3e21c6b98
6887 changed files with 257154 additions and 12294 deletions

53
runtime Normal file
View File

@@ -0,0 +1,53 @@
{
"schemaVersion": 1,
"task": "WBV2-P1424-001",
"scope": "batch",
"pattern": "region-",
"selectedUnits": [],
"sourcePathCount": 1,
"runtimePathCount": 0,
"hitCount": 91,
"truncated": true,
"hits": [
"136: if (!region->runtime->visible || region != screen->active_region) {",
"150: if (!ELEM(pc.region_type, RGN_TYPE_ANY, region->regiontype)) {",
"155: ui::theme::theme_set(area->spacetype, region->regiontype);",
"159: GPU_scissor(region->winrct.xmin,",
"160: region->winrct.ymin,",
"161: BLI_rcti_size_x(&region->winrct) + 1,",
"162: BLI_rcti_size_y(&region->winrct) + 1);",
"438: wmViewport(&region->winrct);",
"439: ui::theme::theme_set(area->spacetype, region->regiontype);",
"440: region->runtime->type->draw_overlay(C, region);",
"457: if (!ELEM(region->regiontype, RGN_TYPE_WINDOW, RGN_TYPE_PREVIEW)) {",
"463: if (region->regiontype == RGN_TYPE_WINDOW) {",
"471: if (region->regiontype == RGN_TYPE_WINDOW) {",
"474: RegionView3D *rv3d = static_cast<RegionView3D *>(region->regiondata);",
"493: if (region->regiontype == RGN_TYPE_WINDOW) {",
"507: if (region->regiontype == RGN_TYPE_PREVIEW) {",
"521: if (region->runtime->gizmo_map == nullptr) {",
"525: wmGizmoMap *gzmap = region->runtime->gizmo_map;",
"560: if (area->spacetype == SPACE_VIEW3D && region->regiontype == RGN_TYPE_WINDOW) {",
"561: RegionView3D *rv3d = static_cast<RegionView3D *>(region->regiondata);",
"604: if ((area->spacetype == SPACE_VIEW3D) && (region->regiontype == RGN_TYPE_WINDOW)) {",
"623: return wm_region_use_viewport_by_type(area->spacetype, region->regiontype);",
"728: if (region->runtime->draw_buffer) {",
"729: if (region->runtime->draw_buffer->viewport) {",
"730: GPU_viewport_free(region->runtime->draw_buffer->viewport);",
"732: if (region->runtime->draw_buffer->offscreen) {",
"733: GPU_offscreen_free(region->runtime->draw_buffer->offscreen);",
"736: MEM_delete(region->runtime->draw_buffer);",
"737: region->runtime->draw_buffer = nullptr;",
"769: const wmDrawBuffer *buffer = region->runtime->draw_buffer;",
"812: if (region->runtime->draw_buffer) {",
"813: if (region->runtime->draw_buffer->stereo != stereo) {",
"819: GPUOffScreen *offscreen = region->runtime->draw_buffer->offscreen;",
"820: if (offscreen && (GPU_offscreen_width(offscreen) != region->winx ||",
"821: GPU_offscreen_height(offscreen) != region->winy ||",
"829: if (!region->runtime->draw_buffer) {",
"832: region->runtime->draw_buffer = MEM_new_zeroed<wmDrawBuffer>(\"wmDrawBuffer\");",
"833: region->runtime->draw_buffer->viewport = stereo ? GPU_viewport_stereo_create() :",
"836: if (!region->runtime->draw_buffer->viewport) {",
"838: MEM_delete(region->runtime->draw_buffer);"
]
}