1. 19 Apr, 2021 23 commits
  2. 06 Apr, 2021 7 commits
    • Niklas Haas's avatar
      meson: bump fix version · ec69102e
      Niklas Haas authored
      So I can tag this commit for a point release.
      ec69102e
    • Niklas Haas's avatar
      demos: install `plplay` if demos are enabled · d0123440
      Niklas Haas authored
      This is a useful enough tool that I think installing it makes sense.
      (Unlike the other demos)
      
      People that don't want it can still disable the `demos` build option.
      d0123440
    • Niklas Haas's avatar
      demos: modularize windowing backend · 34decaab
      Niklas Haas authored
      Instead of compiling all variants of all demos, load the best backend at
      runtime. Also split off the nuklear implementation into a separate
      library to avoid excessively recompiling it, something that should have
      been done ages ago.
      
      This is technically a functionality downgrade, since it doesn't allow
      users to choose which backend to use (Vulkan or OpenGL), instead always
      picking the "best" backend. But that's mostly interesting for
      developers, not users, I think.
      
      I'll probably implement some mechanism for making that selection at
      runtime, when I actually need it.
      
      As an aside, I also renamed 'image' to 'sdlimage' since I think the name
      fits better - the only reason I didn't in the past was to avoid
      confusion with the suffix.
      34decaab
    • Niklas Haas's avatar
      demos/plplay: fix lifetime of AVFrame · 3ab959cd
      Niklas Haas authored
      This was accidentally freed too early, causing memory corruption when
      playing files with embedded ICC profiles.
      3ab959cd
    • Niklas Haas's avatar
      utils/libav: clarify lifetime of `pl_upload_avframe` · 77928eac
      Niklas Haas authored
      Turns out I actually made this very mistake. Oops.
      77928eac
    • Niklas Haas's avatar
      demos: reduce verbosity across the board · af12b592
      Niklas Haas authored
      No reason for this confusing `demo_context()` anyway, just pick a
      suitable verbosity level for each demo. In particular, `plplay` was way
      too spammy.
      af12b592
    • Niklas Haas's avatar
      tests/fuzz: add shaders fuzzer · 1f2f2b6d
      Niklas Haas authored
      Fuzz various patterns of creating and combining shaders, including
      subshaders and various types of attached resource.
      
      The API fuzzing is realized by iterating through a plaintext string
      describing the order of operations to perform, using a simple
      stack-based shader combinator language.
      1f2f2b6d
  3. 05 Apr, 2021 4 commits
  4. 04 Apr, 2021 6 commits