1. 04 Dec, 2018 1 commit
    • Niklas Haas's avatar
      3rdparty: use meson subprojects instead · 195f28ea
      Niklas Haas authored
      Major refactor of the source code structure. Now uses meson subprojects
      for "third party" dependencies (including bstr and talloc), and moves a
      lot of the meson boilerplate from src/meson.build to the top-level
      meson.build.
      
      We choose the name 'xtalloc' to make sure we don't collide with samba
      libtalloc, and to reflect the fact that our wrappers abort on OOM.
      195f28ea
  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.
      b6104e12
  4. 28 May, 2018 1 commit
    • Niklas Haas's avatar
      shaders: add support for ICC profiles and 3DLUTs · eb14d3bd
      Niklas Haas authored
      Code taken from mpv, with some modifications. The shader stuff is from
      scratch, but lcms.c draws heavily from code I already wrote.
      
      This again uses LittleCMS 2, with which I've been very satisfied.
      Partially addresses #23.
      eb14d3bd
  5. 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
      anyway.
      3e881060
  6. 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).
      0fcccbbe
  7. 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
      ra_renderpass).
      eeccfacd
  8. 10 Oct, 2017 2 commits
  9. 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)
      bc39890e