summaryrefslogtreecommitdiff
path: root/src/image.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-25 10:15:44 -0300
committerGabriel Schneider <[email protected]>2026-10-25 10:42:37 -0300
commit1dbfb9a468859fb0e0ce228740731e0876bcdcf6 (patch)
treee59b662ef4e0d5223a2559122d2ff62e042236a4 /src/image.zig
parentb0773dc68491b0eab1b8030731b063cba3dd2b40 (diff)
downloadpardes-1dbfb9a468859fb0e0ce228740731e0876bcdcf6.tar.gz
pardes-1dbfb9a468859fb0e0ce228740731e0876bcdcf6.zip
pdfrender 1: PDF pages render off the loop: MuPDF's base context gets locks (fz_locks_context, pthread mutexes), a render lane is a cloned context with its own document opened from the base's shared fz_buffer (no fz_context or fz_document is ever touched by two threads); jobs on io.concurrent, a generation per slot (a stale raster never lands), fz_cookie aborts a job nobody waits for; a page not landed shows its paper, the page past the strip is rendered ahead, the second lane starts once the first is warm; pages kept past their pane for a second open or a Restore (64 MiB, oldest out first); a PDF's watch armed over the bytes it read no longer reopens it (every open parsed the document twice); a far jump's first frame no longer falls back to the page's text
Diffstat (limited to 'src/image.zig')
0 files changed, 0 insertions, 0 deletions