1. 29 Jan, 2019 1 commit
    • Niklas Haas's avatar
      swapchain: add resizing API · ad242535
      Niklas Haas authored
      This is used both for updating the size and querying the size. I don't
      want to make these separate functions because it should be painfully
      obvious that the size you get may not be the size you request.
      This allows libplacebo to work on wayland, which mediates the concept of
      swapchain resizing to protocols like xdg_shell that mesa/vulkan can't
      know anything about (by design).
  2. 26 Oct, 2018 1 commit
  3. 29 Sep, 2018 1 commit
    • Niklas Haas's avatar
      common: switch to explicit includes · b6104e12
      Niklas Haas authored
      Since we no longer need the GCC pragma for symbol visibility, there's
      also no more reason to have common.h import everything under the sun -
      so only have modules import what they actually use.
      This speeds up compilation a tiny bit.
  4. 02 Feb, 2018 1 commit
    • Niklas Haas's avatar
      ra: rename ra to pl_gpu, change ra_ to pl_ · 3e881060
      Niklas Haas authored
      This is a very major rewrite operation, but all of the actual logic is
      unaffected. The change is completely cosmetic.
      The idea behind this is to avoid clashing the mpv ra_ namespace when
      libplacebo eventually makes its way back into mpv, allowing it to
      coexist with vo_gpu peacefully (at least for the transition period).
      It's also sort of weirdly inconsistent with the rest of libplacebo
  5. 16 Jan, 2018 1 commit
    • Niklas Haas's avatar
      swapchain: add new swapchain abstraction · 0fcccbbe
      Niklas Haas authored
      Largely inspired by mpv's, with some changes (mostly relating to
      metadata - which we attach to each framebuffer, and also generalize to
      open up the ballpark for e.g. native HDR output support).
  6. 12 Oct, 2017 1 commit
    • Niklas Haas's avatar
      ra: refactor ra_format · eeccfacd
      Niklas Haas authored
      Turns out the bools actually suck for doing feature tests, so a cap bit
      is way better in practice. This makes ra_find_fmt much more useful.
      Also decided to shorten the name, to make it more consistent with the
      other ra_objects, all of which have shortened names (except
  7. 10 Oct, 2017 2 commits
  8. 07 Oct, 2017 1 commit
    • Niklas Haas's avatar
      libplacebo: initial commit · bc39890e
      Niklas Haas authored
      Code shamelessly stolen from mpv, except without all the awful parts.
      (Just kidding, I still love mpv)