Bug 312990
| Summary: | [Meta][WPE][GTK] Use Vulkan where available | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 312991, 312992, 313491, 313633, 314180, 314182, 314315 | ||
| Bug Blocks: | |||
Adrian Perez
It's the future of graphics, or has been for a decade. Morese, there are GPUs that only have Vulkan drivers now. It would be good to introduce Vulkan usage progressively on systems where it is supported.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
A rough plan to incrementally start using Vulkan would be:
1. Add code to use Vulkan for allocating graphics buffers, share those with GL and keep using GL for painting at first.
2. Add IPC to share Vulkan buffers across different processes.
Then, some ideas in no particular order:
- Make WPEPlatform export Vulkan buffers.
- Make Skia use Graphite/Vulkan for rasterization.
- Have replacements for components that use EGL/GL, and allow swapping them.
- etc.
Of course as we need to keep supporting GL, Vulkan features should be runtime-selectable.