Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/de/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Unter Linux (X11 und Wayland) zeichnet `Config{GPU: true}` Frames mit Vulkan.
zurückgelesene Fenster und der vom Fenster übergebene `wl_shm`-Puffer sind
gleich denen des CPU-Pfads. go-gfx/gpu2d hat seinen Vulkan-Renderer auf einer
Hardware-GPU gemessen (AMD Radeon PRO W7700, RADV): `Draw` ist bei 1080p
52-mal schneller als das CPU-`Rasterize`; das Fenster selbst, mit seiner Kopie
52-mal schneller als das CPU-`Rasterize` auf einem Kern; das Fenster selbst, mit seiner Kopie
in den Framebuffer, wurde auf Hardware nicht gemessen.
- **Rückfall:** ist Vulkan nicht verfügbar oder wird ein Frame abgelehnt (für
das Gerät zu groß, Gerät verloren), zeichnet das Fenster auf der CPU und läuft
Expand Down
2 changes: 1 addition & 1 deletion content/en/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ On Linux (X11 and Wayland), `Config{GPU: true}` draws frames with Vulkan.
byte for byte, proven live on both protocols: the window read back from the X
server, and the `wl_shm` buffer the window committed, equal the CPU path's.
go-gfx/gpu2d measured its Vulkan renderer on a hardware GPU (AMD Radeon PRO
W7700, RADV): `Draw` is 52 times faster than the CPU `Rasterize` at 1080p; the
W7700, RADV): `Draw` is 52 times faster than the CPU `Rasterize` on one core at 1080p; the
window itself, with its copy into the framebuffer, has not been measured on
hardware.
- **Fallback:** where Vulkan is unavailable, or a frame is refused (too large
Expand Down
2 changes: 1 addition & 1 deletion content/es/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ En Linux (X11 y Wayland), `Config{GPU: true}` dibuja los fotogramas con Vulkan.
de vuelta del servidor X y el búfer `wl_shm` que la ventana confirmó son
iguales a los del camino de CPU. go-gfx/gpu2d midió su renderizador Vulkan en
una GPU de hardware (AMD Radeon PRO W7700, RADV): `Draw` es 52 veces más
rápido que el `Rasterize` de CPU a 1080p; la ventana en sí, con su copia al
rápido que el `Rasterize` de CPU en un solo núcleo a 1080p; la ventana en sí, con su copia al
framebuffer, no se ha medido en hardware.
- **Alternativa:** cuando Vulkan no está disponible, o se rechaza un fotograma
(demasiado grande para el dispositivo, dispositivo perdido), la ventana dibuja
Expand Down
2 changes: 1 addition & 1 deletion content/fr/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Sous Linux (X11 et Wayland), `Config{GPU: true}` dessine les images avec Vulkan.
relue depuis le serveur X, et le tampon `wl_shm` validé par la fenêtre, sont
égaux à ceux du chemin CPU. go-gfx/gpu2d a mesuré son moteur Vulkan sur un GPU
matériel (AMD Radeon PRO W7700, RADV) : `Draw` est 52 fois plus rapide que le
`Rasterize` CPU en 1080p ; la fenêtre elle-même, avec sa copie dans le
`Rasterize` CPU sur un seul cœur en 1080p ; la fenêtre elle-même, avec sa copie dans le
framebuffer, n'a pas été mesurée sur du matériel.
- **Repli :** quand Vulkan est indisponible, ou qu'une image est refusée (trop
grande pour le périphérique, périphérique perdu), la fenêtre dessine sur le CPU
Expand Down
2 changes: 1 addition & 1 deletion content/ja/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Linux(X11 と Wayland)では、`Config{GPU: true}` でフレームを Vulkan で
同一です。両方のプロトコルで実機上で確認済みで、X サーバーから読み戻したウィンドウと、
ウィンドウがコミットした `wl_shm` バッファは、CPU パスのものと一致します。
go-gfx/gpu2d は自身の Vulkan レンダラーをハードウェア GPU(AMD Radeon PRO W7700、RADV)で
測定しており、1080p で `Draw` は CPU の `Rasterize` より 52 倍高速です。ウィンドウ自体
測定しており、1080p で `Draw` は CPU の `Rasterize`(1 コア)より 52 倍高速です。ウィンドウ自体
(フレームバッファへのコピーを含む)はハードウェア上では測定していません。
- **フォールバック:** Vulkan が使えない場合、またはフレームが拒否された場合(デバイスに
対して大きすぎる、デバイスの喪失)、ウィンドウは CPU で描画して動作を続けます。
Expand Down
2 changes: 1 addition & 1 deletion content/ko/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Linux(X11과 Wayland)에서는 `Config{GPU: true}`로 프레임을 Vulkan으로
같으며, 두 프로토콜 모두에서 실제로 증명했습니다. X 서버에서 다시 읽은 창과
창이 커밋한 `wl_shm` 버퍼가 CPU 경로의 것과 같습니다. go-gfx/gpu2d는 자체
Vulkan 렌더러를 하드웨어 GPU(AMD Radeon PRO W7700, RADV)에서 측정했으며,
1080p에서 `Draw`는 CPU `Rasterize`보다 52배 빠릅니다. 프레임버퍼로의 복사를
1080p에서 `Draw`는 단일 코어 CPU `Rasterize`보다 52배 빠릅니다. 프레임버퍼로의 복사를
포함한 창 자체는 하드웨어에서 측정하지 않았습니다.
- **대체:** Vulkan을 쓸 수 없거나 프레임이 거부되면(장치에 비해 너무 큼, 장치
손실) 창은 CPU로 그리며 계속 동작합니다. 이유는 백엔드의 `GPUError()`가
Expand Down
2 changes: 1 addition & 1 deletion content/zh-cn/surfaces/native-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ return w.Run(root) // root is any toolkit.Widget
- **精确性:** 在软件 Vulkan(lavapipe)上,像素与 CPU 路径逐字节相同,并已在两种协议上实机证明:
从 X 服务器读回的窗口,以及窗口提交的 `wl_shm` 缓冲区,都与 CPU 路径的一致。
go-gfx/gpu2d 已在硬件 GPU(AMD Radeon PRO W7700,RADV)上测量其 Vulkan 渲染器:
在 1080p 下 `Draw` 比 CPU 的 `Rasterize` 快 52 倍;窗口本身(包括复制到帧缓冲区)
在 1080p 下 `Draw` 比单核 CPU 的 `Rasterize` 快 52 倍;窗口本身(包括复制到帧缓冲区)
尚未在硬件上测量。
- **回退:** 当 Vulkan 不可用,或某一帧被拒绝(对设备来说太大、设备丢失)时,窗口改用 CPU 绘制并继续运行。
原因由后端的 `GPUError()` 给出,此后的每一帧都是 CPU 帧。
Expand Down
Loading