I recently started a project for an experimental web browser built in Rust, but I didn't want to build the renderer, so I wanted to use webrender
.
I wanted to ask if anybody can explain to me how to use webrender to render an HTML document and how to render it onto a window (the window is managed by winit
and the OpenGL APIs are used via glutin
)
Rendering web pages requires first parsing HTML, CSS, and even javascript loading and execution, while
WebRender
is only a rendering engine, it is a component ofServo
Browser, so it needs to be used in conjunction with Servo Browser.If you need a more streamlined browser, you can trim down the
Servo
source code.