Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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.

Per-toolkit code inside of Servo

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

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp