Commit Graph

512 Commits

Author SHA1 Message Date
Sasha Szpakowski f6cdbdc868 Merge branch 'main' into 12.0-development 2022-12-31 22:46:34 -04:00
Sasha Szpakowski 0b75f6cfa5 Missed some files... 2022-12-31 22:36:48 -04:00
Sasha Szpakowski c823dbca96 Update copyright year for 2023 2022-12-31 22:25:49 -04:00
Sasha Szpakowski 456f897e43 Merge branch 'main' into 12.0-development 2022-12-29 12:12:28 -04:00
Sasha Szpakowski b4e9731dfb Add LOVE_EXPORT to a couple macOS functions called from the exe. 2022-12-29 10:27:52 -04:00
Miku AuahDark c342339fee Define LOVE_EXPORT on non-Windows.
With GCC or Clang, LOVE_EXPORT is defined as __attribute__((visibility("default"))).
2022-12-28 13:51:08 +08:00
Sasha Szpakowski 5fe40be724 Fix compilation 2022-12-26 22:29:50 -04:00
Sasha Szpakowski 7137c3ffb7 Remove #ifdefs supporting old Visual Studio versions. 2022-12-26 22:22:14 -04:00
Miku AuahDark 1fa9159f04 Register love.sensor module. 2022-12-05 14:33:11 +08:00
Miku AuahDark 8f7eac4fde Initial sensor module. 2022-12-05 13:33:04 +08:00
slime 6173c1638d macOS: fix colors appearing oversaturated on P3 displays.
The fix only applies to macOS 11+ when using OpenGL.
2022-09-30 15:17:46 -03:00
niki a93d153792 vulkan: adjust code styling 2022-09-10 17:40:46 +02:00
nikeinikei deb2ea9435 Update config.h 2022-08-20 22:04:23 +02:00
niki 23666b1fde vulkan: fix android build
It compiles now, but it's not working correctly yet
2022-08-20 19:38:59 +02:00
niki 51e3cf2a9c vulkan: enable linux
Some basic testing reveals that it works
just like the windows build.
2022-08-19 23:41:04 +02:00
niki 7be9bb3ecc vulkan: implement vsync setting 2022-08-19 21:40:21 +02:00
niki f4ece69307 Merge remote-tracking branch 'origin/12.0-development' into vulkan 2022-08-15 03:43:35 +02:00
niki 9b7cfef5ef vulkan: implement setScissor 2022-07-16 23:19:24 +02:00
niki 565455c3ea proper selection of vulkan renderer 2022-07-10 03:46:12 +02:00
niki 0cea07806f use different uniform buffers for each draw call 2022-06-30 18:42:49 +02:00
Alex Szpakowski 69c4a496dd Fix a few minor compiler warnings 2022-06-18 17:59:55 -03:00
niki c996860602 Use löve's uniform data object for vulkan shader 2022-06-13 16:50:12 +02:00
niki 4c415479c0 Merge remote-tracking branch 'origin/12.0-development' into vulkan 2022-06-11 01:22:29 +02:00
Miku AuahDark 7b66e50cfc Add support for love.filedropped in Android.
To send file to the filedropped callback, share the files to the game.
Note that for non-fused binary, if there's no game running, LOVE treat it as
*.love game to run.
2022-05-29 01:49:29 +08:00
Miku AuahDark 2822f17a39 Minor improvements and fixes to Android-specific code. 2022-05-28 13:47:53 +08:00
Miku AuahDark aaeb318aa6 Android: Implement special path URI for passing file descriptors.
This is to workaround the limitation of content:// URI severely limited.
2022-05-22 22:40:09 +08:00
Miku AuahDark 2016972607 Android: Reorder fused file preference. 2022-05-22 20:20:39 +08:00
niki 75a6bc9b5d Merge remote-tracking branch 'origin/12.0-development' into vulkan 2022-05-06 16:46:55 +02:00
Alex Szpakowski ceb23eee48 Add new Stream base class, internal-only for now. 2022-04-21 19:52:04 -03:00
Alex Szpakowski e61a664a8b ImageData: limited support for integer pixel formats.
For now this doesn't support conversions (get/set/mapPixel, etc). Just the ability for ImageData to contain integer pixel contents, for example via Canvas:newImageData.
2022-04-18 10:46:02 -03:00
Miku AuahDark 6031a6c636 Fix Android compile error. 2022-03-05 21:46:33 +08:00
Miku AuahDark 767edc5f84 Add HAS_SOCKLEN_T to Android config.h 2022-03-05 15:27:06 +08:00
Miku AuahDark 7b3e2182aa Use std::stringstream when building deprecation text. 2022-03-01 22:33:33 +08:00
niki 65074dae15 hello world triangle 2022-02-04 23:45:58 +01:00
Alex Szpakowski d7522c88af Add HTTPS Lua module.
It can be loaded via https = require("https").
Basic API is responsecode, body = https.request(url).
Slightly more advanced API is responsecode, body, headers = https.request(url, {method="post" or "get", data=str, headers={}}).
2022-01-30 13:21:33 -04:00
Alex Szpakowski 62de8f62c7 metal: hook up emulated 'fan' mesh draw mode. 2022-01-22 12:59:09 -04:00
Alex Szpakowski f93d167a47 Merge branch '12.0-development' into metal 2022-01-12 18:23:23 -04:00
Alex Szpakowski ff83ee6a9c Add basic ortho and perspective projection APIs to love.graphics.
- Added love.graphics.setOrthoProjection.
- Added love.graphics.setPerspectiveProjection.
- Added love.graphics.resetProjection.

Note that the projection is reset whenever the canvas changes.
2022-01-08 22:56:21 -04:00
Alex Szpakowski d51e012812 Merge branch '12.0-development' into metal 2022-01-05 21:12:22 -04:00
Alex Szpakowski 7f3538d2ba Merge branch 'main' into 12.0-development 2022-01-05 21:10:27 -04:00
Alex Szpakowski 8e7fd10b6f Update copyright year for 2022 2021-12-31 18:33:40 -04:00
Alex Szpakowski 304b569a39 metal: tag texture formats with compute write support 2021-12-24 17:45:05 -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 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 380cc1033e Change luax_runwrapper chunk name prefix. 2021-12-12 09:34:08 +08:00
Miku AuahDark 0f9e598ebb Fixed love.filesystem.getDirectoryItems() in Android with new fusing mehod. 2021-11-13 14:34:54 +08:00
Miku AuahDark 3a18a2ab0d Use GameActivity.buildFileLookup via JNI to build file tree.
Turns out AAssetDir_getNextFilename() intentionally excludes directories,
thus the custom archive backend only sees the top-level files.
2021-11-05 13:55:14 +08:00
Miku AuahDark b79b99bbaa Use specialized logic when loading C modules in Android. 2021-11-02 17:54:13 +08:00