Hacker GitHub

← All repos

servo/webrender

View on GitHub ↗ ★ 3,379 Rust

A GPU-based renderer for the web

40 mentions on Hacker News by 29 people: 3 stories, 37 comments · first 2016-02-25 · latest 2025-10-20

Mentions per year 40 mentions · busiest year 2017 (12)
20082026
  1. …added as a backend) but a note that WebRender is maintained. See Servo's most recent 0.68 branch ( https://github.com/servo/webrender/tree/0.68 ) and also ongoing upstream development in the Firefox repository…
    comment by nicoburns · 2025-10-20 · in Servo v0.0.1
  2. …approximate distance to an ellipse is to use a trick I came up with based on a paper from 1994 [1]: https://github.com/servo/webrender/blob/c4bd5b47d8f5cd684334... Unless it's changed recently, this is what Firefox uses for border radius.…
  3. …I didn't think too much about sandboxing, accessibility, network or whatnot. Just a fun idea… [0]: https://github.com/servo/webrender/blob/c4bd5b47d8f5cd684334...
    comment by paulrouget · 2025-02-28 · in WASM Wayland Web (WWW)
  4. Firefox also sends it to DirectWrite, the native API. https://github.com/servo/webrender/blob/master/wr_glyph_rast...
  5. This source code: https://github.com/servo/webrender/blob/master/wr_glyph_rast... suggests to me that the glyph rasterization (which is the CPU-limiting factor for text rendering) in WebRender (which is the new FF 93+ GPU-accelerated…
  6. …freetype) does regular old glyph cache built in CPU texture rendering. Neither involve GPU shaping. https://github.com/servo/webrender/blob/master/wr_glyph_rast... Still trying to understand what earth-shattering, "leverage" levering…
    comment by riceart · 2023-05-15 · in macOS Apps in Rust
  7. …[2] https://doc.rust-lang.org/reference/memory-model.html [3] https://github.com/servo/webrender [4] https://docs.rs/lyon/latest/lyon/
    comment by Ygg2 · 2023-05-15 · in macOS Apps in Rust
  8. …are different, an error is thrown. Also true in rust. For an example of what this looks like: https://github.com/servo/webrender/blob/54b725be37f13b166946... You haven't described anything different between go and rust in your comment…
  9. …Which reminds me that people were trying to use webrender[1] to build native apps in Rust. [1] https://github.com/servo/webrender
  10. …The GPU is used for the actual graphical rendering down the line -- compositing and such[1]. [0] https://github.com/servo/webrender [1] https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f...
    comment by lkbm · 2020-10-17 · in HTML5 Accelerator Card
  11. …Servo/WebRender folks maintain such a list of driver bugs with workarounds, you may find useful: https://github.com/servo/webrender/wiki/Driver-issues
  12. Really hoping WebRender, and eventually Pathfinder make a big difference here. https://github.com/servo/webrender https://github.com/pcwalton/pathfinder
  13. …even begin to scratch the surface of OpenGL bugs on Apple devices. Many more are documented here: https://github.com/servo/webrender/wiki/Driver-issues
  14. …for updates on the issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1404042 Edit: Also relevant: https://github.com/servo/webrender/issues/3115
    comment by theferalrobot · 2019-05-05 · in Firefox 66.0.4 is out, fixes disabled add-ons
  15. …runs in the window server on relatively recent versions of macOS) and Android SurfaceFlinger. https://github.com/servo/webrender/issues/3115 On the Mac you can pick up performance improvements now by opting out of the OS's window scaling…
  16. …of driver issues that Mozilla has run into while developing webrender is also impressively long: https://github.com/servo/webrender/wiki/Driver-issues
    comment by 43920 · 2019-02-28 · in Gpu.js – GPU Accelerated JavaScript
  17. https://github.com/servo/webrender/tree/master/webrender/src
    comment by Sammi · 2018-10-26 · in WebRender is in beta
  18. Yeah: https://github.com/servo/webrender
    comment by proaralyst · 2018-10-26 · in WebRender is in beta
  19. …them to RON[2] as a better alternative, which has proven itself useful in WebRender captures. [1] https://github.com/servo/webrender/ [2] https://github.com/ron-rs/ron
  20. …later on [1]. That allows the renderer to run on Vulkan, DirectX 11 and 12, Metal and OpenGL. [1] https://github.com/servo/webrender/issues/407
  21. You can probably just pull it from GitHub: https://github.com/servo/webrender (Cargo lets you specify Git repos for dependencies.)
    comment by dochtman · 2018-03-22 · in Firefox Product Roadmap
  22. …a good fit for proper parallelized rendering. UPDATE: Ah, I see it's mentioned in the future work: https://github.com/servo/webrender/wiki#future-work Vulkan? This could possibly make some of the serial steps above able to be parallelized…
  23. …new pipeline should be deployed in firefox in 2018 as a part of the ongoing Quantum project. [1] https://github.com/servo/webrender [2] https://m.youtube.com/watch?v=BTURkjYJ_uk
    comment by littlestymaar · 2017-09-15 · in CSS Triggers
  24. …That said, there are still rough edges. If you see rendering slowness, feel free to file issues on http://github.com/servo/webrender . There are no silver bullets for performance, only lots of lead bullets. I'm confident that parallelism…
    comment by pcwalton · 2017-08-25 · in Off-main-thread HTML parsing in Servo
  25. For anyone wandering what WebRender actually is or does https://github.com/servo/webrender/wiki
    comment by jayflux · 2017-08-18 · in WebRender newsletter
  26. …gains probably come from multiple sources, pushing work to GPU is afaik one of the main ones. https://github.com/servo/webrender/wiki Also, I'm reminded of Anandtech review of the 1st-gen rMBP: At 2880 x 1800 most interactions are smooth…
  27. …[0] https://www.reddit.com/r/rust/comments/6l5c94/can_we_crowdfu... [1] https://flutter.io/ [2] https://github.com/servo/webrender
    comment by nicoburns · 2017-07-05 · in Rust's 2017 roadmap, six months in
  28. …available in nightly as experimental option while they're still working on integrating stylo. https://github.com/servo/webrender/wiki
  29. …I wouldn't be surprised to see "Best viewed in Firefox" badges start popping up everywhere. [0] https://github.com/servo/webrender/wiki https://air.mozilla.org/bay-area-rust-meetup-february-2016/
    comment by lewisl9029 · 2017-05-26 · in Chrome Won
  30. …the colors, gradients, borders, shadows, rounded corners and so on in OpenGL. Look at the shaders: https://github.com/servo/webrender/tree/master/webrender/res
  31. …but not at this time[0]. There are likely higher priority changes which need to be made. [0] https://github.com/servo/webrender/issues/186
    comment by yazaddaruvala · 2017-01-25 · in Firefox 51.0
  32. …Servo's usage of Rust is all for the rest of the stuff. We do have a component, http://github.com/servo/webrender/ , which handles rendering in particular. That indeed does the architecting of the draw commands and resource management on
  33. …load the GPU can magically parallelize. Servo's rendering stack does make extensive use of the GPU. https://github.com/servo/webrender/ (talk by patrick in https://air.mozilla.org/bay-area-rust-meetup-february-2016/ ) There's also work on…
  34. …which you can make shaders read random memory ([1] for example) that I'm no longer surprised. [1]: https://github.com/servo/webrender/commit/96ac2f13b9b73dcfa0...
  35. …in taking a look at your project if you'd offer a link. :-) WebRender [1], part of Servo. [1]: https://github.com/servo/webrender
    comment by pcwalton · 2016-08-12 · in AMP Is What HTML Should Have Been
  36. …around the vertex shader limitation on weird clips Indeed! It's issue #61, filed in October 2015 :) https://github.com/servo/webrender/issues/61
  37. …"We've removed painting from the bottleneck in Servo" More info about WebRender: https://github.com/servo/webrender/wiki If you want try it at home, you "just" need to build servo: http://github.com/servo/servo (git clone, then ./mach buil