Files
llimphi/llimphi-raster/Cargo.toml
T

39 lines
1.2 KiB
TOML

[package]
name = "llimphi-raster"
description = "2D GPU rasterizer for llimphi over vello, with an opt-in CPU+GPU hybrid renderer."
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
publish.workspace = true
repository.workspace = true
[dependencies]
llimphi-hal = { path = "../llimphi-hal" }
vello = { workspace = true }
# Renderer "hybrid" CPU+GPU sin compute shaders. Útil para targets sin
# WebGPU completo (WebGL2, Adreno/Mali viejas) — alinea con el plan
# Android del workspace. Opt-in vía la feature `hybrid`; el default
# sigue siendo el renderer "wgpu" full-GPU de vello.
vello_hybrid = { workspace = true, optional = true }
pollster = { workspace = true }
[features]
default = []
# Activa el renderer alternativo vello_hybrid (CPU+GPU, sin compute).
# Re-exporta `vello_hybrid` desde el crate para que apps avanzadas
# puedan instanciar `vello_hybrid::Renderer` cuando el target lo pida.
hybrid = ["dep:vello_hybrid"]
[[example]]
name = "render_node"
path = "examples/render_node.rs"
[[example]]
name = "spike_gpu_directo"
path = "examples/spike_gpu_directo.rs"
[[example]]
name = "gpu_million_points"
path = "examples/gpu_million_points.rs"