Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MiSTer API #2

Closed
wants to merge 24 commits into from
Closed

Update MiSTer API #2

wants to merge 24 commits into from

Conversation

psakhis
Copy link

@psakhis psakhis commented Sep 22, 2024

Support for delta frames
New option mister_force_scaler

antonioginer and others added 24 commits March 13, 2024 19:58
…ers and clipping. New hacky method for viewport resizing for hardware renderers (gl/glcore).
- Defer viewport resize right before it's read for the first time, avoids early resizing causing issues.
- Set scaler manually instead of through video_frame_scale, helps in situations where same input resolution needs different scaling (e.g. Sonic 2).
- Manually set GL's internal scaler too.
- Force a cmd_close/cmd_init upon new loaded content, fixes interlace on hw rendered games.
- Ignore bogus frames (size < 64 pixels).
- Resize viewport for hardware and software renderers.
- Resize viewport to actual framebuffer width/height rather than modeline hactive/vactive, to respect borders when they exist. Prevents buffer overflows.

* video_crt_switch.c
- Don't use force_full in set_viewport.
- Force a default mode 640x480 for bogus resolution requests (< 64 pixels).

* video_driver.c
- Move Switchres block before frame().
- Move MiSTer block after frame().
  - mister_scanlines
  - mister_force_rgb565
  - mister_interlaced_fb
* Bypass pixel conversion for native RGB565, use direct binary copy.
* Use separate buffer for pixel format conversion.
* Fix bug that caused random crash when showing menu.
* Cleanup
- Set lz4 compression mode through option mister_lz4:
  "0" - raw
  "1" - lz4
  "2" - lz4hc
  "3" - lz4/lz4hc adaptative
- Add support for keyboard, mouse and analog joysticks
- Mouse and keyboard are enabled through option input_driver = "mister".
- Support jumbo frame, through option mister_mtu = "3800".
Add field to blit
Congestion control for non interlaced fb
Add support to lz4 delta frames
New option mister_force_scaler
@psakhis psakhis closed this by deleting the head repository Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants