Skip to content

Port swgl to no_std - #4249

Closed
fschutt wants to merge 1 commit into
servo:masterfrom
fschutt:no_std
Closed

fschutt wants to merge 1 commit into
servo:masterfrom
fschutt:no_std

Conversation

@fschutt

@fschutt fschutt commented Feb 6, 2021 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@mrobinson

Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants