glutin
metroboy
Our great sponsors
glutin | metroboy | |
---|---|---|
8 | 19 | |
1,935 | 1,089 | |
1.1% | - | |
7.3 | 6.7 | |
9 days ago | 2 months ago | |
Rust | C++ | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
glutin
- glutin: A low-level library for OpenGL context creation, written in pure Rust.
-
Emacs GPU rendering
Yeah, render Emacs via GPU. We get underlined display server opengl context using surfman or glutin. Since PGTK is gtk, we are using gl_area. Replaced the Cairo drawing with this Firefox's Webrender. Using this, you can except some improvements to rendering. However, I dont know how to do benchmarks regarding GUI rendering.
- glutin 0.30.0 released with major rewrite decoupling from winit
-
GameRoy: a cross platform and highly accurate Game Boy emulator
But I think this will be solved when I switch back the GL context creation to glutin (thankfully, version 0.30 will decouple from windows creation), and I rewrite sprite-render.
-
Hide mouse cursor in piston?
Hello, I'm a beginner rust dev trying to make a simple thingy in piston. I've got a picture to follow the mouse cursor, but when I try to hide the cursor with window.set_capture_cursor(true) , it seems like mouse events seize to exist. I found this bug report Mouse Grabbing and MouseMoved Event · Issue #696 · rust-windowing/glutin (github.com) , but that was resolved years ago. I'm using pistoncore-glutin_window = "0.70.1". Am I doing something wrong? If not, is there any other easy way to hide the cursor?
-
Learn OpenGL with Rust: creating a window
Luckily, there are quite a few libraries out there that provide this functionality, some of them specifically aimed at OpenGL. Those libraries save us all the operation-system specific work and give us a window and an OpenGL context to render in. One of those libraries is glutin. It allows us to create an OpenGL context, define window parameters, and handle user input, which is plenty enough for our purposes.
-
chocho install neovide || neovide , doesnt start , a window pops up for 1 second and then it closes out and nothing happens
Yeah this is a known issue in VMs https://github.com/rust-windowing/glutin/blob/master/ISSUES.md but I haven't found a way to fix it. It does not even work with llvmpipe mesa, which provides the newest OpenGL drivers.
- GitHub - hecrj/iced: A cross-platform GUI library for Rust, inspired by Elm
metroboy
-
When would you ever want bubblesort?
He wrote a game engine, it renders transparent items using the painter's algorithm, which requires the items to be sorted in Z. He has a routine that iterates over all items to render them, and bubble-sorts the items in-place while iterating over the items (all in the same thread). The "compare and swap" in this case is the innermost functionality of bubblesort.
I assume the author is https://github.com/aappleby but I don't see any obvious candidate for this code. Maybe this? https://github.com/aappleby/metroboy but I can't see why a gate-level emulator woudl need to render transparent items using painter's algorithm.
-
Documentation for cycle accurate Game Boy CPU
If you want to go deeper, you can look at the reverse engineered schematic of most of the stuff except the CPU core in the DMG-CPU-Inside project. You could also consult the MetroBoy project, which builds on the previous project and aims to be accurate pretty much down to the logic gate level.
-
Game Boy PPU Pixel Pipeine
Well then, here's the ground truth - https://github.com/aappleby/MetroBoy/blob/master/src/GateBoyLib/GateBoyPixPipe.cpp
-
GameRoy: a cross platform and highly accurate Game Boy emulator
First I would try to deduce the timing from this gate-level simulation of the game boy, but the master branch was broken at the time, so I didn't manage to compile it. So, I tried deducing it from its underling reverse engineered schematics, but it would take too much time, if it even was possible.
-
Is full-speed SNES possible purely in JavaScript?
You might find my hobby project interesting - https://github.com/aappleby/MetroBoy
-
The tooling is the language?
Did you know the original Game Boy has non-deterministic behavior? Due to some strangeness in the integrated circuit that provides the CPU and some related parts (the SoC (system on a chip)), the same ROM may behave differently at different times when you'd think it should not. GateBoy is an attempt to make a perfect gate-level emulator for the Game Boy. Its README says:
- Good practices for Batch rendering dynamic quads.
-
MetalNES: Transistor Level NES Simulation
Reminds me of GateBoy, which was posted a while back: https://news.ycombinator.com/item?id=28396927, https://github.com/aappleby/MetroBoy
GateBoy runs surprisingly fast for a gate-level simulation.
- Gameboy - Trying to understand Sprite FIFO behavior in the PPU
- Reverse-engineering the Yamaha DX7 synthesizer's sound chip from die photos
What are some alternatives?
glium - Safe OpenGL wrapper for the Rust language.
rohd - The Rapid Open Hardware Development (ROHD) framework is a framework for describing and verifying hardware in the Dart programming language.
gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
Espeon - Gameboy emulator for the ESP32
kiss3d - Keep it simple, stupid 3d graphics engine for Rust.
mooneye-gb - A Game Boy research project and emulator written in Rust
iced - A cross-platform GUI library for Rust, inspired by Elm
SkyEmu - Game Boy Advance, Game Boy, Game Boy Color, and DS Emulator
SameBoy - Game Boy and Game Boy Color emulator written in C
openmoji - Open source emojis for designers, developers and everyone else!
surfman - Accelerated offscreen graphics for WebGL
pokegb - A gameboy emulator that only plays Pokemon Blue, in ~50 lines of c++.