993b7625b8
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
39 lines
1.2 KiB
TOML
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", version = "0.1.0" }
|
|
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"
|