Commit Graph

4777 Commits

Author SHA1 Message Date
Alex Szpakowski 8e7fd10b6f Update copyright year for 2022 2021-12-31 18:33:40 -04:00
Miku AuahDark 78a915c8f4 Update dr_flac to 0.12.33 2021-12-31 10:09:36 +08:00
Alex Szpakowski 813c9d1781 Fix GL version check for arbitrary texture-to-buffer copy support.
love never creates a GL4.5 context, so we also need to check for the extension that provides the same functionality.
2021-12-30 19:25:10 -04:00
Alex Szpakowski 4474312f76 Updated changelog 2021-12-30 17:06:26 -04:00
Alex Szpakowski fc1c1e1e1f Merge branch 'main' into 12.0-development 2021-12-30 16:39:22 -04:00
Alex Szpakowski 21b996e5b4 Add note in the changelog about LuaJIT 2.1. 2021-12-30 14:00:12 -04:00
Alex Szpakowski b66daf3338 Update iOS CI for xcframework dependencies 2021-12-30 12:48:41 -04:00
Alex Szpakowski c0dc051bc4 iOS: use new xcframework dependency libraries.
They support arm64+x64 simulators, as well as 64 bit iOS devices.
2021-12-30 12:46:37 -04:00
Miku AuahDark 165ffa7e34 Package JIT modules as artifact in Windows
See #1752
2021-12-30 20:00:04 +08:00
Alex Szpakowski ebe628eb8b Update CI and readme for new love-apple-dependencies repo path. 2021-12-28 16:25:03 -04:00
Alex Szpakowski 0786eff656 Update changelog 2021-12-28 15:30:10 -04:00
Alex Szpakowski cf0a45f601 Fix non-stream buffers uploading redundant data when a sub-range is modified.
https://love2d.org/forums/viewtopic.php?f=4&t=92458
2021-12-28 15:10:09 -04:00
Alex Szpakowski bfcf025ef7 Add 'staging' buffer data usage enum. 2021-12-28 12:49:33 -04:00
Alex Szpakowski 52101b2563 Add love.graphics.copyTextureToBuffer and copyBufferToTexture. 2021-12-28 12:46:56 -04:00
Alex Szpakowski d7bfc2ebcb Fix compile error 2021-12-27 21:31:04 -04:00
Alex Szpakowski 5b3a5e7721 Remove the need for copysource and copydest buffer usage flags. 2021-12-27 21:17:04 -04:00
Alex Szpakowski 4195911680 Relax Texture:replacePixels sub-rect restriction for compressed textures. 2021-12-27 12:10:37 -04:00
Alex Szpakowski be6736cba5 Update glslang 2021-12-26 13:13:27 -04:00
Alex Szpakowski ca9b9ba91f Update spirv-cross 2021-12-26 12:54:35 -04:00
Alex Szpakowski 045f5ff0a5 Fix initializing the graphics module after a window is opened. 2021-12-26 12:34:47 -04:00
Alex Szpakowski 19feec43f9 metal: don't do auto sRGB -> P3 color conversions on the backbuffer 2021-12-25 22:31:18 -04:00
Alex Szpakowski 37ff7ef665 metal: support for depth16 on iOS 2021-12-25 14:21:59 -04:00
Alex Szpakowski 30fe00d767 metal: implement storage buffer bindings 2021-12-25 14:21:45 -04:00
Alex Szpakowski c6e4cfdc64 metal: initial love.graphics.dispatchThreadgroups implementation 2021-12-24 23:04:44 -04:00
Alex Szpakowski a03041043f metal: partial implementation of love.graphics.discard 2021-12-24 22:41:31 -04:00
Alex Szpakowski 759937a458 metal: fix depth24stencil8 fallback on macOS 2021-12-24 22:20:25 -04:00
Alex Szpakowski 2868ede191 metal: restrict to macOS 10.15+ and iOS 13+. 2021-12-24 19:22:10 -04:00
Alex Szpakowski 620dc42292 metal: fix quad drawing on older iOS devices 2021-12-24 19:13:48 -04:00
Alex Szpakowski a431e70179 metal: add internal compute encoder APIs 2021-12-24 18:56:21 -04:00
Alex Szpakowski bcd64fe537 metal: implement mesh cull modes 2021-12-24 18:46:06 -04:00
Alex Szpakowski dab174b120 metal: fix a couple compiler warnings 2021-12-24 18:04:11 -04:00
Alex Szpakowski 7eb8366b2d metal: integer texture format support. 2021-12-24 17:50:17 -04:00
Alex Szpakowski 304b569a39 metal: tag texture formats with compute write support 2021-12-24 17:45:05 -04:00
Alex Szpakowski 7a910484c3 Fix compilation 2021-12-24 16:45:23 -04:00
Alex Szpakowski 75b2ddc3c9 Fix love.graphics.clear's alpha component. 2021-12-24 16:14:06 -04:00
Alex Szpakowski 3d8117ccbb Merge branch '12.0-development' into metal 2021-12-24 15:35:18 -04:00
Alex Szpakowski e63025b74f Merge branch '12.0-development' into metal 2021-12-24 15:34:05 -04:00
Alex Szpakowski 185b53421a Fix function declaration type mismatch (didn't cause any errors). 2021-12-24 11:41:12 -04:00
Alex Szpakowski c8038f22df Merge branch 'main' into 12.0-development 2021-12-24 11:35:35 -04:00
Alex Szpakowski cee8f8ae48 Fix a compiler warning 2021-12-24 11:26:11 -04:00
Miku AuahDark ede0ad0a20 Fix ENet error on certain system with >48-bit pointers.
Fixes love2d/love-android#222
2021-12-19 09:47:45 +08:00
Alex Szpakowski 6adfe16c26 Merge pull request #1758 from megagrump/main-fileDataFromData
Create FileData from Data objects
2021-12-13 10:41:19 -04:00
megagrump b359311832 accept Data objects in newFileData 2021-12-13 09:20:17 +01:00
Alex Szpakowski 7168ef73d8 Merge pull request #1757 from MikuAuahDark/chunkname
Change luaL_loadbuffer chunkname with prefixes.
2021-12-11 22:05:17 -04:00
Miku AuahDark 380cc1033e Change luax_runwrapper chunk name prefix. 2021-12-12 09:34:08 +08:00
Miku AuahDark fb815edc28 Change luaL_loadbuffer chunkname with prefixes. 2021-12-12 09:23:00 +08:00
Alex Szpakowski 7e271fc53e Use SDL's rumble APIs for Joystick:setVibration, when available.
Fixes #1756
2021-12-11 11:52:42 -04:00
Alex Szpakowski ebd5f13456 Fix missing ByteData:clone and DataView:clone implementations.
Fixes #1754
2021-12-07 19:51:40 -04:00
Alex Szpakowski 7310fde7b9 glslang: fix compilation on certain newer compilers
This is already fixed in the latest glslang source code, but updating may be too risky for love 11.x.
2021-12-04 13:11:01 -04:00
Alex Szpakowski b54aaf65ca Fix the default error handler drawing when love.graphics is inactive.
love.graphics.isActive() is false on mobile devices when the app isn't in the foreground. On iOS there can be a few frames between when the app is backgrounded and when the OS pauses it, where it's not valid to call OpenGL functions or present the screen.
2021-12-04 11:58:00 -04:00