• davawen
    link
    fedilink
    arrow-up
    7
    ·
    10 months ago

    They’re using metal which is Apple only.

    • porgamrer
      link
      fedilink
      arrow-up
      5
      ·
      10 months ago

      But why? I saw their section about rasterising everything on the GPU, and again I find it hard to understand why they need anything more than OpenGL 3.

      Their UI looks like it would be an LRU glyph cache and a sprite batcher, and then you’d have 1000fps.

      • gens
        link
        fedilink
        arrow-up
        4
        ·
        10 months ago

        You can get lower latency with vulkan then with opengl. I remember some emulators (gamecube?) talk about why they implemented vulkan.

        • porgamrer
          link
          fedilink
          arrow-up
          3
          ·
          10 months ago

          That sounds plausible. I’m sure having the lowest possible latency was their goal. There are multiple popular rust libraries aiming to provide zero cost abstractions over a common subset of the metal, vulcan and dx12 APIs, but I’ve never actually used one.