2 ms·
> I'd love to see a Web renderer based on Vulkan. I agree! The current graphics and driver landscape is too fragmented to bet on Vulkan in the near-term, howev
by pcwalton 11y ago
> I'd love to see a Web renderer based on Vulkan.
I agree! The current graphics and driver landscape is too fragmented to bet on Vulkan in the near-term, however.
We do anticipate being able to keep most of the code around when Vulkan hits the scene. Our approach isn't to write an abstraction layer per se but rather by keeping our direct GL usage as isolated as possible, so that we can easily rewrite that stuff from scratch to really make good use of Vulkan, as you say. (This also allows us to support D3D if we want to.) Most of the logic here—batching, culling, texture atlas management, display list optimization—is very general logic that will apply no matter what hardware API we end up using.
- modeless 11y agoMy impression has been that Servo isn't focusing on the near-term. Is that changing?
- pcwalton 11y ago"Near term" is relative. Multicore has been here for many years and we can safely assume its presence (though even then we're making sure we have good sequential performance). But it's not even clear that Vulkan will be available at all on all devices we might care about in the foreseeable future.