1. 19 Apr, 2021 22 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
  5. 02 Apr, 2021 1 commit
    • Niklas Haas's avatar
      ci: delete unused cross files · 6881d3ab
      Niklas Haas authored
      These are pulled from the CI image anyway. Their presence in the repo
      itself makes no sense since all of the information inside it is
      environment-specific, meaning it only works on the developer's
      machine(tm).
      
      Unfortunately the reality of cross compiling in 2021 is that people will
      just have to do it themselves. Which is probably irrelevant anyway
      because who the fuck is manually cross-compiling stuff instead of
      relying on existing distro tools to do it for them?
      6881d3ab