Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Port swgl to no_std #4249

Closed
wants to merge 1 commit into from
Closed

Port swgl to no_std #4249

wants to merge 1 commit into from

Conversation

fschutt
Copy link
Contributor

@fschutt fschutt commented Feb 6, 2021

This PR makes webrender / swgl ready to be used on embedded hardware. The only thing that webrender / gleam uses from the entire standard library is CString / CStr conversions, which now have no_std replacement functions in gleam

The goal is to get webrender / azul running on a LinuxFb framebuffer or get it working with EGL for embedded Linux hardware.

Currently blocked on:

TODO:

  • Re-export cstring_from_str and cstr_from_ptr in gleam
  • Make gleam::ffi::__gl_imports or expose the types
  • Fix khronos API generation build error in gl-rs
  • Version bump & dependency management

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #4808) made this pull request unmergeable. Please resolve the merge conflicts.

@mrobinson
Copy link
Member

This repository is just a mirror ATM, so please contribute substantive changes to WebRender upstream at https://github.com/mozilla/gecko-dev/tree/24f9846b7d8ea0819edee7aafc51a39753f1619a/gfx/wr.

@mrobinson mrobinson closed this Jan 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants