1. 15 Apr, 2019 1 commit
    • Philip Langdale's avatar
      xtalloc: Re-prefix all ta_* symbols to xta_* · 12aab84a
      Philip Langdale authored
      xtalloc was copied from mpv, which means that we see symbol
      collisions if libplacebo is statically linked into mpv. So
      use an `xta_` prefix for all the functions. In practice, this
      has almost no effect on the consuming code because everything
      is accessed via macros.
  2. 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
      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.
  3. 25 Jan, 2018 1 commit
    • Niklas Haas's avatar
      dispatch: implement support for blending · 0f518e7e
      Niklas Haas authored
      I also made some RA changes for convenience, so we can pass around the
      blending configuration as a single struct.
      I also implemented blending emulation for compute shaders.
  4. 30 Oct, 2017 1 commit
    • Niklas Haas's avatar
      context: refcount contexts instead of using atexit · a8362036
      Niklas Haas authored
      Apparently atexit() in libraries is bad news, and pthread_once_t (in
      printf.c) leaks memory anyway. Fix both problems at the same time by
      using a refcount on the global state.
      Slightly unsightlier, but this way it's both immune to memory leaking
      and fully thread safe.
  5. 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)