Skip to content
Snippets Groups Projects
  1. Jun 30, 2023
  2. Mar 28, 2023
  3. Oct 16, 2021
    • Niklas Haas's avatar
      libplacebo: switch to new params struct style · a34a8ebe
      Niklas Haas authored
      Applies the new style introduced in the previous commit throughout the
      codebase of libplacebo, excluding some tricky/unimportant files (like
      gpu_tests.h)
      
      Special care needed to be taken in exactly one case, where
      pl_vulkan_params gained its implicit default fields in the new
      implementation and therefore async_transfer had to be disabled
      explicitly (rather than implicitly).
      a34a8ebe
  4. Jul 19, 2021
  5. Jul 16, 2021
  6. May 12, 2021
  7. Apr 21, 2021
    • Niklas Haas's avatar
      log: rename from pl_context · 2459200a
      Niklas Haas authored and Niklas Haas's avatar Niklas Haas committed
      Over the past few years, the use case of `pl_context` has increasingly
      shrinked, finally dwindling to "nothing other than logging" with the
      introduction of thread safety (and thus the loss of the "thread safety
      guard") As such, this being called `pl_context` is really unnecessarily
      confusing. It's just a glorified logging subsystem.
      
      Rename it, and make it optional in the process. Also introduce a typedef
      to make the new name shorter, as part of a new convention that I will be
      switching to moving forwards.
      
      This technically breaks the auto-cleanup behaviour of `pl_shader` and
      `pl_filter` but I really don't think those were all that useful or
      justified, and I don't think anybody relied on it.
      2459200a
  8. Apr 06, 2021
  9. Mar 17, 2021
    • Niklas Haas's avatar
      demos: refactor components and integrate into build system · c6f9fb97
      Niklas Haas authored
      Major refactor of the demos/ directory, accomplishing a number of goals:
      
      1. Allowing easy switching between OpenGL and Vulkan variants.
      2. Supporting both GLFW and SDL2, chosen at compile time. The window
         management itself was made entirely modular for this purpose.
      3. Refactor all of the demo programs atop these new abstractions.
      4. Building them correctly and automatically (via meson).
      
      I also plan on factoring out the nuklear code to its own helper, but I
      avoided making that part of the same commit to prevent it from blowing
      up any further.
      c6f9fb97
  10. Mar 03, 2021
    • Niklas Haas's avatar
      demos: factor common GLFW code out of demos · 565a532b
      Niklas Haas authored
      This simplifies the demos to focus on their specific logic rather than
      the window creation boilerplate, and also allows me to expand the amount
      of demos without needing to re-duplicate this logic over and over again.
      565a532b
Loading