Repository navigation
feat(frontend-sync): add zero-allocation offline RGB888 showcase GIF … - #40
Merged
Merged
Conversation
…sync on RPi - Resolve local `/showcase/<folder>/<stem>.gif` (YOKO) and `/showcase_tate/<folder>/<stem>.gif` (TATE) via `DmdCache::resolve_offline_showcase_gif_path` with `0` network traffic when present on SD/DATA - Decode multi-frame 24-bit `RGB888` GIFs off-thread into `PreloadedRgb888Gif` and render on H-Core via `SyncOfflineGifRenderer` (`once`, `alternating`, `loop` cycles, `V1.6-FinalLocked` parity with ESP32) - Prove `0` H-Core heap allocations across 10,000 frames via `TrackingAllocator` in `tests/test_v16_final_locked.rs` plus full MQTT TATE E2E tests and trilingual (`EN`/`FR`/`ES`) Online/Offline/Hybrid guides
…er support
- Add matrix.ui_scale ('auto', '1', '2', '3', '4') and zero-allocation ScaledDrawingSurface Nearest-Neighbor wrapper around IDrawingSurface preserving DirtyBounds and CanvasView.
- Guarantee strict 1x zero-impact behavior in 'auto' mode for 64x32, 32x64, 64x64, 128x32, 32x128, 128x64, 64x128, 256x64, and 64x256, only activating 2x/3x/4x when min(w,h) >= 128 and max(w,h) >= 192 (e.g. 256x192, 512x384).
- Preserve native 1x full-screen rendering via surface.unscaled() for gifs, DMD Media Showcase Phase 2 LiveStream video/panoramas, and FrontendSync ShowcaseStream while upscaling Phase 1 Intro Cards.
- Add matrix.pixel_mapper (e.g. 'U-mapper', 'V-mapper') forwarded to hzeller LedMatrixOptions::set_pixel_mapper_config and mirrored in effective_physical_dimensions().
- Update WebUI Hardware tab, OpenAPI schema, EN/FR/ES i18n & docs, and unit + H-Core 10,000-frame zero-allocation tests.
…f memory, and native marquee scaling
…tom aspect ratios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Offline RGB888 Showcase GIF Sync on RPi
/showcase/<folder>/<stem>.gif(YOKO) and/showcase_tate/<folder>/<stem>.gif(TATE) viaDmdCache::resolve_offline_showcase_gif_pathwith0network traffic when present on SD/DATARGB888GIFs off-thread intoPreloadedRgb888Gifand render on H-Core viaSyncOfflineGifRenderer(once,alternating,loopcycles,V1.6-FinalLockedparity with ESP32)0H-Core heap allocations across 10,000 frames viaTrackingAllocatorintests/test_v16_final_locked.rsplus full MQTT TATE E2E tests and trilingual (EN/FR/ES) Online/Offline/Hybrid guidesInteger UI Upscaling (
matrix.ui_scale) & Multi-Panel Pixel Mapper (matrix.pixel_mapper)matrix.ui_scale("auto","1","2","3","4") &ScaledDrawingSurface: Zero-allocation Nearest-Neighbor integer upscaling wrapper aroundIDrawingSurfacepreservingDirtyBoundsandCanvasView."auto"stays strictly at1xfor64x32,32x64,64x64,128x32,32x128,128x64,64x128,256x64, and64x256, triggering2x/3x/4xonly whenmin(width, height) >= 128andmax(width, height) >= 192(256x192->2x128x96,512x384->4x128x96).1xfull-screen media bypass (surface.unscaled()): Keeps native1xfull-screen rendering forgifs,DMD Media ShowcasePhase 2LiveStreamvideo/panoramas, andFrontendSyncShowcaseStream, while letting Showcase Phase 1 Intro Cards benefit from upscaling on giant LED walls.matrix.pixel_mapper: Forwards hzeller pixel-mapper chains (e.g."U-mapper","V-mapper") toLedMatrixOptions::set_pixel_mapper_configand mirrors folded geometry inMatrixConfig::effective_physical_dimensions().#hw-pixel-mapperand#hw-ui-scalecontrols (EN/FR/ESparity), updateddocs/openapi.yaml+ trilingual docs, and added unit + 10,000-frameTrackingAllocatorH-Core proofs.