Sasha Szpakowski
c39e9e75ee
Merge pull request #2342 from erinmaus/relax-shader-storage-requirements
...
Relax shader storage requirements
2026-07-29 18:00:43 -03:00
Erin Maus
f7a7086604
Don't draw if not all writable images and/or buffers are set.
2026-07-29 15:11:09 -04:00
Sasha Szpakowski
2c3b3c43b7
vulkan: fix texel buffer usage mask
2026-07-26 21:18:36 -03:00
Sasha Szpakowski
792690b73d
metal: support shader atomics for int/uint textures, on macOS 14+ and iOS 17+.
2026-07-24 17:03:15 -03:00
Sasha Szpakowski
b392d21536
update glslang to slime73/glslang@72d1590 (16.3.0 plus fixes for love)
2026-07-24 16:50:17 -03:00
Sasha Szpakowski
17258d8179
update SPIRV-Cross to KhronosGroup/SPIRV-Cross@6c09849
2026-07-24 16:33:18 -03:00
Sasha Szpakowski
e4649253e8
add 'shaderatomics' field to love.graphics.getTextureFormats' usage table arg.
...
Currently only r32i and r32ui are supported (on capable systems).
2026-07-24 14:23:55 -03:00
Erin Maus
d8430c39df
Respond to PR feedback.
2026-07-24 08:06:52 -04:00
Erin Maus
efa18664a0
Fix issues with OpenGL ES.
2026-07-23 12:24:47 -04:00
Erin Maus
6411883565
Add tests for new relaxed storage restrictions.
2026-07-23 06:22:48 -04:00
Erin Maus
d9ee9a40ac
Add new Graphics::Features.
2026-07-23 06:22:48 -04:00
Erin Maus
7d09352e94
Relax storage restrictions on vertex/pixel shaders.
2026-07-23 06:22:48 -04:00
Sasha Szpakowski
8c18d3ce8e
vulkan: slightly more robust initialization
2026-07-19 10:39:55 -03:00
Sasha Szpakowski
2dacd058f4
allow vulkan backend even when wireframe or anisotropic filtering aren't supported.
...
Related: #2335 .
2026-07-18 17:14:38 -03:00
Sasha Szpakowski
8cd9cdd3ac
love.window.setMode shows a popup if internal graphics initialization fails.
...
Related: #2335 .
2026-07-18 10:57:13 -03:00
Sasha Szpakowski
57e8330a64
vulkan: improve error handling when setMode fails
2026-07-18 10:55:16 -03:00
Sasha Szpakowski
81eb4dbcaf
Fix compilation on macOS/iOS
2026-07-16 14:01:38 -03:00
Sasha Szpakowski
0b665880e8
Merge pull request #2338 from TotoEnF5/qoi
...
Feat: QOI image format
2026-07-16 13:29:42 -03:00
TotoEnF5
16b33a94aa
QOI: add failsafe if data is shorter than header
2026-07-16 10:29:49 +02:00
TotoEnF5
34079d008c
Add qoi license
2026-07-15 11:21:03 +02:00
TotoEnF5
82ceb3121f
Add QOI image format support
2026-07-15 11:11:14 +02:00
Sasha Szpakowski
e47acd766d
Show a popup error if love.window loads but love.graphics does not.
...
Also include backend-specific errors in graphics initalization error messages.
Improves visibility of errors related to vulkan/metal/opengl initialization.
Related to #2335 .
2026-07-12 11:01:02 -03:00
Sasha Szpakowski
540e681454
vulkan: fix validation errors when VK_EXT_full_screen_exclusive is used
2026-07-05 11:11:19 -03:00
Sasha Szpakowski
4758d54af6
vulkan: handle swap chain surface loss errors.
2026-07-05 10:50:22 -03:00
Sasha Szpakowski
51114ee01c
use SDL for love.window.getSafeArea implementation.
2026-07-01 15:17:07 -03:00
Sasha Szpakowski
0f95aea730
metal: remove unused legacy code for old OS support
2026-07-01 14:35:41 -03:00
Sasha Szpakowski
cad88c0098
metal: improve newTexture performance for non-canvas textures when there's no initial data provided.
2026-07-01 14:20:25 -03:00
Sasha Szpakowski
fc0cb61c6c
metal: improve canvas creation performance.
...
Prefer initializing textures by using a render target clear rather than a blank data upload, when possible.
2026-07-01 14:03:20 -03:00
Sasha Szpakowski
fc98c7d2e1
android: attempt to use vulkan by default when vulkan 1.1+ is supported.
2026-06-28 19:15:40 -03:00
Sasha Szpakowski
eb44cf54a7
Merge pull request #2330 from erinmaus/inverse-of
...
Add 'inverseOf' to love.Transform
2026-06-24 21:03:03 -03:00
Erin Maus
66fafaaaf3
Use getMatrix().inverse() instead of heap allocation.
2026-06-24 19:37:04 -04:00
Erin Maus
574295064b
Add 'inverseOf' to love.Transform.
2026-06-24 12:30:12 -04:00
Sasha Szpakowski
84fe074d06
vulkan+windows: tell the driver we don't want exclusive fullscreen, when in desktop-fullscreen mode.
2026-06-21 21:32:35 -03:00
Sasha Szpakowski
52c6b886cf
TextBatch:getWidth/getHeight can return fractional numbers
2026-06-21 20:38:25 -03:00
Sasha Szpakowski
061f96fab1
Possibly fix Linux compile error
2026-06-21 16:40:11 -03:00
Sasha Szpakowski
7d49d880d7
Improve truetype font text positioning with fractional glyph advances and DPI-scaled coordinates.
...
Disallow Font:setFallbacks for fonts that have different DPI scales.
It's still too easy to render text at a non-integer pixel when fractional DPI scales are used, so maybe a more thorough redesign would be useful.
Fixes #2318 .
Fixes #2168 .
2026-06-21 16:30:43 -03:00
Sasha Szpakowski
a7679a5509
default error handler's text is positioned better for fractional DPI scales
...
maybe we need a snapToPixel function in the future, if we stick with this DPI scaling model...
2026-06-21 16:16:38 -03:00
Sasha Szpakowski
02c6a3053f
metal: fix compile error
2026-06-21 15:16:53 -03:00
Sasha Szpakowski
142ce87335
graphics: improve setScissor's handling of fractional DPI-scaled coordinates.
2026-06-21 14:58:22 -03:00
Sasha Szpakowski
3eedfb6e1e
replace love.window.requestAttention implementation with SDL_FlashWindow.
2026-06-18 21:13:19 -03:00
Sasha Szpakowski
a3dae27a72
Disallow requiring love.graphics and love.window in threads.
2026-06-18 20:49:08 -03:00
Sasha Szpakowski
4b43c74a29
remove some redundant code.
...
SDL3's default behaviour matches what love does with the hint, so the code isn't needed.
2026-06-18 20:09:18 -03:00
Sasha Szpakowski
2f8c88c218
vulkan: explicitly specify triple-buffering instead of minBuffers+1.
2026-06-14 21:28:35 -03:00
Sasha Szpakowski
8884fb3f10
graphics: clean up some shared backbuffer settings code.
2026-06-14 19:31:40 -03:00
Sasha Szpakowski
6b144d3494
vulkan: add more detail to some error messages
2026-06-14 16:48:34 -03:00
Sasha Szpakowski
f1a55bc36d
CI: use vs2026 when building for Windows
2026-06-13 15:59:33 -03:00
Sasha Szpakowski
515cae1818
windows cmake: convert path separators to cmake's expected ones when installing extra dlls
2026-06-13 15:58:26 -03:00
Sasha Szpakowski
f4e81fbb5f
metal: fix love.graphics.clear not working in some situations.
...
Fixes #2327 .
2026-06-10 21:07:16 -03:00
Sasha Szpakowski
e13fd06e59
Fix love.graphics.newBuffer not showing the right error message when there's no window.
2026-06-06 10:27:43 -03:00
Sasha Szpakowski
c95b8cf790
graphics: add rgb10a2ui pixel format.
2026-05-31 21:45:30 -03:00