3 ms·
I think if they want wider adoption of the codec, they have to port this to GPU. They are much faster in term of throughput. They are more power efficient per F
by Const-me 8y ago
I think if they want wider adoption of the codec, they have to port this to GPU. They are much faster in term of throughput. They are more power efficient per FLOP. Also for players, the result needs to be in VRAM anyway.
Unfortunately, it’s very hard to do in cross-platform way, for Windows you have to use D3D, for iOS Metal, etc… AFAIK, cross-platform GPGPU doesn’t work yet, at least when you want to target wide audience i.e. both Intel/Nvidia/AMD GPUs including older models, with default drivers.
- lpghatguy 8y agoIt's always possible to use GL compute or Vulkan compute with MoltenVK/gfx on MacOS/iOS.
- tormeh 8y agoWell, some people are working on this: https://github.com/gfx-rs/gfx/blob/master/README.md https://github.com/gfx-rs/gfx/blob/master/README.md I think at this point it's clear that we'll NEVER have a cross-platform graphics API. The incentives for platform holders speak against it, and design by committee means the attempts are so inferior that devs would rather avoid them. We have to make wrappers. Ideally, they should translate at compile time.
- Const-me 8y ago> it's clear that we'll NEVER have a cross-platform graphics API. I think we will, in a few years. I never used VK in production but I’ve read about it a lot, and I like the technology. Only I don’t think it happened just yet. On PCs Intel is problematic, VK requires Skylake GPUs (2015), i.e. most PCs older than 2-3 years don’t support it.
- iuysdgsdi7fgi 8y agoNever say never.
- twotwotwo 8y agoYeah, I bet GPU-aided decoding will get there, but a cross-platform CPU decoder seems like a reasonable place for work now--provide a baseline that can work a lot of places.