code wiki / _hdl_build / nx_gfx_tex_gate.nx

nx_gfx_tex_gate.nx

buildroot/runtime/_hdl_build/nx_gfx_tex_gate.nx

4654 B96 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic gfx
docsdependenciesstructsconstsfunctions

dependencies 5 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_gfx_iso.nx nx_png.nx nx_syscalls.nx nx_gfx_tex_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_gfx_iso.nxnx_png.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_mmap floor_flat gx_fill gx_rgb gx_iso_tile gx_hspan gx_shade gx_rgb ↻ gx_cr gx_cg gx_cb gx_isox gx_isoy floor_tex gx_fill ↻ gx_rgb ↻ gx_iso_tile_tex gx_hash gx_px gx_shade ↻ gx_isox ↻ gx_isoy ↻ write_png sys_mmap ↻ png_g png_paeth png_sabs dfe_compress sys_mmap ↻ dfe_fill_tables dfe_deflate sys_mmap ↻ dfe_bits dfe_hash dfe_matchlen dfe_sym dfe_bits ↻

structs

none

consts

none

functions

16func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
18func lum(c: i64) -> i64 { return (c & 255) + ((c>>8)&255) + ((c>>16)&255) }
20func floor_flat(fb: *i64, W: i64, H: i64, ox: i64, oy: i64) -> i64
34func floor_tex(fb: *i64, W: i64, H: i64, ox: i64, oy: i64) -> i64
49func detail(fb: *i64, W: i64, H: i64, y0: i64, y1: i64) -> i64
58func nonblack(fb: *i64, W: i64, H: i64, y0: i64, y1: i64) -> i64
64func main() -> i64