Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.4k
Graphics toolkit integration
Lars Bergstrom edited this pageJun 6, 2014 ·2 revisions
In Servo, we currently use several graphical toolkits to handle basic window creation, mouse and keyboard events, and top-level draw surface creation. The two in use today are Rust wrappers aroundglfw andglut.
A new toolkit is required to implement the traits defined in the file:https://github.com/mozilla/servo/blob/master/src/components/main/windowing.rs
Examples of this implementation for the GLFW integration is at:https://github.com/mozilla/servo/blob/master/src/components/main/platform/common/glfw_windowing.rs
The GLUT integration is at:https://github.com/mozilla/servo/blob/master/src/components/main/platform/common/glut_windowing.rs