💾 Archived View for auragem.letz.dev › devlog › 20240417.gmi captured on 2024-07-09 at 02:07:38. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
2024-04-17 Profectus Alpha 0.5: GIFs and APNGs
NOTE: Profectus is a new graphical browser for Gemini, Nex, and Scroll.
I have released alpha 0.5 of Profectus with the following updates:
- Animated GIFs and Animated PNGs (APNGs) are now supported! Note that APNGs are currently a bit buggy with the colors.
- Slightly increased scrolling speed.
- Small memory reduction, particularly for large documents
- Performance Optimization: No need to rasterize text to get its size if the text is not wrapped; unfortunately, wrapped text still needs to be rasterized because SDL_TTF doesn't have a function to get just the size of wrapped text.
- Performance Optimization: Skip the sizing and event updates of elements (and their children) that would be outside their parent's bounds (taking into account the scroll offset).
- Performance Optimization: Use a backing array to allocate GUI elements on. Reset a slice to length of 0 instead of recreating the array. This does tradeoff memory for speed, because the memory usage of GUI elements is not reset every frame, but other optimizations can be made to limit the number of GUI elements that are allocated for long documents in the first place.
You can download it at the following links:
Profectus Homepage
Precompiled Binaries
You can see a list of GIFs that AuraGem Search knows about here:
GIF Images
And you can see two examples of APNGs here:
Elephant
Bouncing Ball
Update(2024-04-18): I have fixed the buggy colors when rendering APNGs and I have added animated JPEG XL (jxl) support in the next version, 0.6, which will be released on the 19th.