mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 06:17:22 -06:00
- crates/gpu/tests/camera_raw.rs was its own test binary taking testkit's gpu_lock; since #8644 the crate's integration tests are one binary (tests/it) sharing crate::GPU_LOCK, so in that binary it would open a device next to the other modules. Moved into tests/it with GPU_LOCK; the testkit dev-dependency goes. - Default (neutral) settings uploaded, rendered and read back the proxy although the CPU develop returns at once. CameraRawGpu::develop now leaves them to the CPU; neutral_settings_skip_the_gpu_round_trip fails without it (backend "gpu"). - docs/hardware-parity.md: the CPU range was one backend's (21-28 ms); measured 11-16 ms on an RTX 5070 Ti, so 11-28 ms, machine-dependent. Co-authored-by: p0rps <134095787+fjamesprice@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "photocraft-gpu"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
half = "2"
|
|
photocraft-geom = { workspace = true }
|
|
photocraft-color = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
photocraft-doc = { workspace = true }
|
|
photocraft-compose = { workspace = true }
|
|
# Camera Raw's per-pixel stages (`camera_raw.rs`) take their constants from the CPU develop.
|
|
photocraft-algo = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
# Same major version as eframe's wgpu so the app's device can be shared.
|
|
wgpu = { version = "30", default-features = false, features = ["std", "wgsl"] }
|
|
log = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
# Effect distance fields are computed in parallel bands.
|
|
rayon = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
wgpu = { version = "30" }
|
|
pollster = "1"
|
|
# Shape layers in the effect parity tests.
|
|
photocraft-vector = { workspace = true }
|
|
# A document-tagged CMYK profile in the tile conversion test.
|
|
photocraft-cms = { workspace = true }
|