konsumer / konsumer/deno-minifb

WebGPU Example

Open
#2 26 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12
Forks
1
PR merge metrics
No merged PRs in 30d

Description

How should it work? I don't think it's possible to render WebGPU frames into window using minifb without a lot of copying going on, thought the output I got is pretty impressive, still runs like 11-12 FPS though:

![img](https://cdn.discordapp.com/attachments/783319033730564098/886574035331334144/webgpu-minifb.gif)

SwapChain could be a better alternative (basically rendering directly onto raw window handle of minifb's Window), but that needs some work on Deno's side (which I could probably give a try, unlikely I'll be successful because neither I'm familiar with contributing to deno nor good with Rust). 🤔

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by clarifying the proposed WebGPU/SwapChain path between Deno and minifb's Window, including the raw window handle and copying concerns described here. No file or test is named; done would require an agreed implementation scope and a demonstrated rendering approach, since the issue currently asks an open-ended design question.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, rust
Domain
computer-graphics, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.