Skip to content
Snippets Groups Projects

ctx: update from upstream - more enabled features

Merged pippin requested to merge pippin/ctx_update_from_upstream_more_features into main
  1. Aug 26, 2023
    • pippin's avatar
      mypy: sprinkle ctx docs · b07a77d8
      pippin authored and moon2's avatar moon2 committed
      b07a77d8
    • pippin's avatar
      ctx: update from upstream - more enabled features · 716a767a
      pippin authored and moon2's avatar moon2 committed
      CTX_PARSER - for parsing SVG path data inline.
      
      CTX_GSTATE_PROTECT for sanity checking on save/restore balance (the sanity
      checking we already get, with ctx_gstate_protect() and ctx_gstate_unprotect()
      inserted around "user" code, balance will also be restored.
      
      CTX_FORMATTER - for recording vector "screenshots" and transmitting display
      contents over TCP.
      
      Pixel encodings GRAY1, GRAY2, GRAY4 - for efficient large lowbith grayscale
      textures, we've got lots of memory, but we can stretch it much further by
      using 1-4bit per pixel rather than 24/32 for some high-contrast use cases.
      
      Pixel encoding GRAYA8 - to handle grayscale PNGs with alpha.
      716a767a
Loading