forked from servo/servo
-
Notifications
You must be signed in to change notification settings - Fork 0
Graphics toolkit integration
Lars Bergstrom edited this page Jun 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 around glfw and glut.
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