Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is interesting, as Webrender does not use D3D but OpenGL, so the parts of Firefox that use D3D might interact badly with it.

There is work to port Webrender to gfx-rs which abstracts over Vulkan, Metal and modern DirectX but it seems to only live in the fork of the Hungarian Szeged university for now: https://github.com/szeged/webrender/issues/198

Maybe then Firefox can purely use DirectX?



WebRender is actually using D3D through OpenGL on top of ANGLE


i was also wondering about the gfx-rs port. i've been watching that repo for over a year, and it's quite impossible to tell how far along things actually are today.


Latest efforts were focused on optimizations, and we there are still a few things ([1]) we want to try out. Current status can be found at [2].

  - [1] https://github.com/szeged/webrender/issues/212
  - [2] https://github.com/szeged/webrender/wiki/Optimization-Status


Note that use of code formatting disables these links on HN, as well as making copy paste of them difficult on mobile. Please avoid using code formatting (space-indented blocks) for non-code.

[1] https://github.com/szeged/webrender/issues/212

[2] https://github.com/szeged/webrender/wiki/Optimization-Status


Didn't know that, thanks for the info!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: