Files
oak-editor/docs/zh
Mike-Solar 48e99e56b7 render: the M2 GPU zero-copy pipeline — wgpu 29, shared gpui device, GPU color LUTs
docs/zh/plans/render-pipeline-threads.md M2: the graph's textures stay
on the GPU from evaluation through presentation, and presentation runs
on the UI's own wgpu device.

- wgpu 25 -> 29 (naga 29) across the engine, unifying it with
  gpui_wgpu so engine textures are directly sampleable by the presenter
  (a single wgpu remains in the lockfile).
- GpuContext::adopt/install_shared: the app registers the window's
  device at startup and the render thread renders on it;
  texture_handle hands the raw Arc<wgpu::Texture> to
  SurfaceSource::Texture - zero-copy present on Linux/FreeBSD. The
  shared slot replaces an engine context that has not touched the GPU
  yet (startup-order guard) and refuses once it has.
- Texture::Gpu shares a GpuLease so clones release the registry token
  exactly once; the compositor, transitions and adjustment sweeps keep
  GPU textures end to end (no per-clip readbacks; GPU clears for
  black/generated frames).
- Color management stays on the GPU: the output node + display ICC
  chain is baked into a 65^3 3D LUT with the exact CPU reference and
  applied by the present WGSL pass (manual trilinear);
  ColorTransformJob bakes its OCIO processor the same way. Neither
  path skips color management.
- The explicit readback boundaries accept GPU textures: export
  encoder, CLI, worker shm, disk cache; CPU OpenFX already read back.
- M5 dependency: the YUV->RGB GPU pass (BT.601/709/2020 x
  limited/full) matches colormath::yuv444p16_to_rgb_f32.
- Acceptance: gpu_transfer_counters; single-clip and layered
  (multi-track + transition + adjustment) playback tests assert zero
  GPU->CPU readbacks, and the app test asserts adopted-device present
  is zero-copy. GPU tests hard-fail when OAK_REQUIRE_GPU is set (CI
  lavapipe) instead of skipping silently.
2026-09-12 20:52:17 +08:00
..
2026-01-05 16:22:26 +08:00

home, title, heroImage, heroText, heroFullScreen, tagline, actions, features, footer
home title heroImage heroText heroFullScreen tagline actions features footer
true Oak 视频编辑器 /images/oak-icon.png Oak 视频编辑器 false 现代开源的非线性剪辑器,强调速度与清晰度。
text link type
阅读文档 /zh/build.html primary
text link type
查看工程文件 /zh/project-file-reference.html secondary
title details
快速剪辑 响应式时间线、智能缓存与高效媒体管理。
title details
面向创作者 简洁界面、可配置快捷键与清晰的工程结构。
title details
开源透明 公开开发流程,欢迎社区参与。
Copyright © Oak Video Editor

关于 Oak

Oak 视频编辑器是 Olive 的重命名分支,目标是打造更完善、更友好的剪辑体验。本网站提供构建说明、工程文件参考与测试计划等贡献者文档。

快速开始

  • 按《构建指南》在 Windows/macOS/Linux 上从源码构建。
  • 在《工程文件参考》了解项目数据结构。
  • 在《工程存储架构》了解数据库写穿持久化与持久撤销历史。
  • 按《测试计划》确保发布质量。

下载

v0.4.0

路线图

版本 主题 核心交付物 边界说明
0.3(当前) 插件架构里程碑 OpenFX 宿主支持完整可用 不追求插件数量,追求"任意 OFX 插件加载不崩溃"
0.4 调色、音频与性能 .cube/.3dl 支持、示波器(波形/矢量/直方图)、三向色轮面板、波形自动同步(双系统录音对齐)、BWF 时间码同步、音频表(LUFS/VU)、代理媒体工作流、硬件加速导出(NVENC/VideoToolbox)、批量渲染队列 合并原 0.4-0.6 范围,集中解决调色工作流、音频同步和 4K/8K 可用性
0.5 动画、跟踪与协作 贝塞尔关键帧曲线编辑器、基础点跟踪、画面稳定器、完整 Multicam 角度切换、OpenTimelineIO、EDL/XML 导入导出 合并原 0.7-0.8 范围,集中处理时间线高级能力和外部工具交接
0.6 稳定性里程碑 项目文件格式冻结(向后兼容承诺)、崩溃恢复、Autosave、内存优化 1.0 前的"封版"测试期
1.0 生产就绪 文档完整、安装包、已知问题清单、社区支持渠道 宣告"可用于严肃项目"