servo / servo/surfman

How to draw to a surface with a platform-specific GPU API?

Open
#324 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
193
Forks
100
Avg merge
17h 55m
Merged PRs (30d)
9

Description

The README mentions that surfman allows one to:

draw to a surface with a platform-specific GPU API like Metal

This sounds like it could be really useful to bridge the gap between libraries using OpenGL and libraries using WGPU. But I don't actually see any reference to APIs other than OpenGL in the docs. So my questions are:

  • Is this actually possible?
  • If so, how would one do it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README statement about drawing to a surface through a platform-specific GPU API and inspect the existing OpenGL documentation. Determine whether Metal or WGPU-style interoperation is supported, then document the usable API path or clearly state the limitation and what would be needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.