Splendide Imaginarius
e929cfb7c7
Merge pull request #98 from WaywardHeart/transparent-blitting
...
Enable transparent blitting from megatextures.
2024-04-29 12:55:43 +00:00
Splendide Imaginarius
a15e4aff14
Merge pull request #178 from Splendide-Imaginarius/mkxp-z-sprite-lanczos
...
Implement smooth scaling for simple sprites
2024-04-02 03:44:55 +00:00
Wayward Heart
8b14894b6f
Fix blitting with negative dimensions
2024-03-24 07:47:58 -05:00
Wayward Heart
cf762c77f1
Only draw text to the hires bitmap when Hires mode is enabled
2024-03-24 07:47:58 -05:00
Wayward Heart
46d9095129
Use gl.unpack_subimage when blitting megasurfaces to textures when available
2024-03-24 07:47:58 -05:00
Wayward Heart
7539a2f34b
Use SDL_LowerBlitScaled/SDL_SoftStretchLinear instead of SDL_BlitScaled
2024-03-24 07:47:58 -05:00
Wayward Heart
e477007061
Use stretchBlt in drawText
2024-03-24 07:47:58 -05:00
Wayward Heart
c89f3d5bd7
Change the create Bitmap from surface constructor to always take ownership of the surface, and provide an option to leave it as a mega surface
2024-03-24 07:47:58 -05:00
Wayward Heart
bd01e11f56
Fix blitting from megatextures
...
Code mostly taken from the implementation in Bitmap::drawText
2024-03-24 07:47:57 -05:00
Splendide Imaginarius
a187d48c24
Add zoomed-out sprite tests
2024-03-22 09:11:57 +00:00
Splendide Imaginarius
1b3d1d96c4
Merge pull request #145 from WaywardHeart/deletedBitmaps
...
Guard against deleted bitmaps
2024-03-22 06:47:14 +00:00
Splendide Imaginarius
58d7ec8519
Implement smooth scaling for simple sprites
2024-03-22 04:35:06 +00:00
Splendide Imaginarius
ef822d1806
Merge pull request #177 from Splendide-Imaginarius/mkxp-z-lanczos-blitting
...
Don't use framebuffer blitting if shader-based interpolation is needed
2024-03-22 02:52:40 +00:00
Splendide Imaginarius
988ba47905
Merge pull request #176 from Splendide-Imaginarius/mkxp-z-hires-default-screen
...
Fix Hires mode with default resolution
2024-03-22 02:19:54 +00:00
Splendide Imaginarius
eca31207cd
Don't use framebuffer blitting if shader-based interpolation is needed
2024-03-22 00:02:10 +00:00
Splendide Imaginarius
0d54b47040
Fix shState segfault
2024-03-21 21:31:45 +00:00
Splendide Imaginarius
58a3c36a10
Fix Hires mode with default resolution
2024-03-21 06:18:55 +00:00
Splendide Imaginarius
487cde38db
Merge pull request #175 from Splendide-Imaginarius/mkxp-z-downscale
...
Allow independent upscale/downscale interpolation methods
2024-03-21 03:50:33 +00:00
Splendide Imaginarius
ebcb0e2486
Allow independent upscale/downscale interpolation methods
2024-03-21 03:03:08 +00:00
Splendide Imaginarius
d4c20d7720
Merge pull request #174 from Splendide-Imaginarius/mkxp-z-mipmap
...
Add mipmap scaling
2024-03-18 11:46:03 +00:00
Splendide Imaginarius
a7841e978b
Merge pull request #168 from Splendide-Imaginarius/mkxp-z-lanczos-short-circuit-part1
...
Graphics: short-circuit shader interpolation
2024-03-18 10:27:14 +00:00
Splendide Imaginarius
fcb36d22fb
Add mipmap scaling
...
Yields a substantial quality improvement when the window is much smaller
than the rendered resolution.
2024-03-18 02:02:55 +00:00
Splendide Imaginarius
8e62dfe68d
Merge pull request #117 from white-axe/comments
...
Change formatting of arrays in mkxp.json comments
2024-03-17 04:10:59 +00:00
Splendide Imaginarius
47030733c8
Merge pull request #128 from Splendide-Imaginarius/mkxp-z-s32
...
Support S32 audio sample formats
2024-03-17 03:52:21 +00:00
Splendide Imaginarius
4658487bb7
Merge pull request #86 from Eblo/graphics-transition-fps-bugfix
...
Graphics.transition average FPS bugfix
2024-03-17 03:49:10 +00:00
Splendide Imaginarius
37f40ab887
Graphics: short-circuit shader interpolation
...
Boosts framerate from ~35fps to ~95fps in the Lanzcos short-circuit case.
2024-01-24 00:06:40 +00:00
white-axe
073c294e12
Merge branch 'dev' into comments
2024-01-22 15:21:29 -05:00
Splendide Imaginarius
8ccbc046ed
Merge pull request #155 from Splendide-Imaginarius/mkxp-z-cross-compile
...
Add cross-compile support for Linux/ARM and Linux/POWER targets
2024-01-22 09:45:29 +00:00
Splendide Imaginarius
999514d860
Merge pull request #82 from WaywardHeart/fix-missized-blits
...
Shrink missized blits
2024-01-22 09:35:55 +00:00
Splendide Imaginarius
1cb431bbbf
Add simple test suite for stretchBlt missized rects
2024-01-22 08:40:31 +00:00
Splendide Imaginarius
b13c4fe136
Add cross-compile support for Linux/ARM and Linux/POWER targets
2024-01-19 12:21:49 +00:00
Splendide Imaginarius
8d139e2a08
Merge pull request #141 from Splendide-Imaginarius/mkxp-z-xbrz
...
Add xBRZ shader
2024-01-16 20:09:51 +00:00
white-axe
e728b473fa
Merge branch 'dev' into comments
2024-01-13 21:55:00 -05:00
Splendide Imaginarius
936d768e4f
Add xBRZ shader
2024-01-13 05:53:09 +00:00
Wayward Heart
35d46e627d
Guard against deleted bitmaps
...
Ruby is not guaranteed to delete bitmaps after any windows, sprites, etc that they are attached to. In the event that the attached object is not deleted before the next call to Graphics.update, this will most likely result in a segfault, as isDisposed() is not guaranteed to return true for a deleted bitmap.
Bitmap::invalid was added in an attempt to guard against this for sprites, but since the bitmap in question is deleted it's not guaranteed that the pointer actually points to null, which made the fix unreliable.
2024-01-10 09:41:00 -06:00
Wayward Heart
43ac2b35a1
Don't clamp Bitmap::blit
...
Bitmap::stretchBlt handles that now
2024-01-05 07:33:55 -06:00
Wayward Heart
2247f1d9b7
Shrink missized blits
2024-01-05 07:33:55 -06:00
Splendide Imaginarius
edb3f83777
Merge pull request #126 from Splendide-Imaginarius/mkxp-z-artifacts-license
...
Add license notice to GitHub Actions artifacts
2023-12-15 23:54:10 +00:00
Splendide Imaginarius
9c5f09d3b4
Support S32 audio sample formats
...
Fixes FLAC playback.
2023-12-15 05:46:08 +00:00
Splendide Imaginarius
2d832934ff
Merge pull request #62 from WaywardHeart/ruby_classic_wrap
...
Replace the ruby18_wrap.rb preload script with ruby_classic_wrap.rb
2023-12-15 05:32:30 +00:00
Splendide Imaginarius
781beb9adf
ruby_classic_wrap: Clarify authorship
2023-12-15 03:20:04 +00:00
Splendide Imaginarius
a7f20372fc
Merge pull request #135 from Splendide-Imaginarius/mkxp-z-bicubic-sharpness
...
Allow tuning bicubic sharpness
2023-12-15 03:12:20 +00:00
Splendide Imaginarius
27e7da25f8
Add license notice to GitHub Actions artifacts
2023-12-15 03:02:43 +00:00
Splendide Imaginarius
0f67af1712
Merge pull request #60 from WaywardHeart/autohide-cursor
...
Autohide mouse cursor after half a second
2023-12-15 02:54:32 +00:00
Splendide Imaginarius
9bdb70bc04
Merge pull request #139 from Splendide-Imaginarius/mkxp-z-bitmap-constructors
...
Refactor Bitmap constructors
2023-11-29 10:10:58 +00:00
Splendide Imaginarius
7032dccbc7
Add Bitmap constructors that take a TEXFBO or an SDL_Surface
...
Refactor snapToBitmap to use it, and add ability to dump VX Atlas with it.
2023-11-27 22:47:24 +00:00
Splendide Imaginarius
6f20252e04
Movie: create Bitmap without Hires replacement
...
Fixes black screen when videos play when Hires mode is enabled.
(Doesn't actually enable Hires Movie replacement yet.)
Thanks Eblo for reporting the bug.
2023-11-27 20:53:42 +00:00
Splendide Imaginarius
a3e9316438
Allow tuning bicubic sharpness
2023-11-26 10:51:56 +00:00
Splendide Imaginarius
5ed8fd7986
Merge pull request #107 from WaywardHeart/patches
...
Add a "patches" option to the config.
2023-11-22 21:55:56 +00:00
Splendide Imaginarius
939b67f4fa
Merge pull request #134 from Splendide-Imaginarius/mkxp-z-bicubic-macos
...
Add bicubic shader to macOS Xcode project
2023-11-22 19:45:03 +00:00