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
Alex Szpakowski
cffd485976
Allow rendering to integer textures.
2021-08-12 17:43:33 -03:00
Alex Szpakowski
48b3a4e860
Initial support for integer format textures.
...
They can't be rendered to and ImageData can't use the formats, for now.
2021-08-12 16:38:54 -03:00
Alex Szpakowski
1cf8f1192c
vertex format table in newMesh uses the same fields as newBuffer.
...
Deprecate (but don't remove) the old {name, type, elementcount} vertex format style. The new style is {name=attributename, format=dataformat}.
2021-08-02 16:11:58 -03:00
Alex Szpakowski
5ef1709c02
Expose love.markDeprecated.
...
Arguments are (level, name, apitype, deprecationtype [, replacementname]). Call it inside a function.
2021-06-06 18:16:56 -03:00
Alex Szpakowski
3d32f1c7d0
iOS: Fix compile errors
2021-06-06 12:19:54 -03:00
Alex Szpakowski
9b4aea8f17
Missed some copyright date updates
2021-04-07 20:34:24 -03:00
Alex Szpakowski
21f5ba86d3
Merge branch 'master' into 12.0-development
2021-04-07 20:33:44 -03:00
Alex Szpakowski
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Alex Szpakowski
0d94530374
metal: implement vsync toggle on macOS
2021-03-27 22:40:29 -03:00
Alex Szpakowski
2d2918a254
Merge branch '12.0-development' into metal
2021-03-26 21:42:08 -03:00
Alex Szpakowski
04d59274ef
Merge branch 'master' into 12.0-development
2021-02-14 14:45:21 -04:00
Miku AuahDark
cbc0602620
Make sure to delete activity returned by SDL when calling getAssetManager()
2021-02-13 19:03:23 +08:00
Miku AuahDark
e967348409
Implement AAsset virtual archive for Android
2021-02-06 22:04:33 +08:00
Alex Szpakowski
e2838131f2
Add love.graphics.copyBuffer.
2021-01-17 14:02:00 -04:00
Alex Szpakowski
98f8fe02a1
Merge branch '12.0-development' into metal
2021-01-14 20:33:45 -04:00
Miku AuahDark
4f491c2e61
Allow full 64-bit lightuserdata usage if the LuaJIT supports it.
...
Issue love2d/love-android#200
Original patch was sent by slime in Discord. Modified a bit to add
code that checks for 64-bit lightuserdata support.
2021-01-07 11:49:11 +08:00
Alex Szpakowski
32a7d41df8
Merge branch '12.0-development' into filesystem
2021-01-01 19:42:20 -04:00
Alex Szpakowski
f151190548
filesystem restructure work.
...
Add mount/unmountCommonPath, mount/unmountFullPath, getFullCommonPath.
Reimplement identity and save directory code in terms of new commonpath code.
Add internal createRealDirectory function (not exposed, currently).
2021-01-01 16:29:40 -04:00
Alex Szpakowski
801bc4b5d4
Merge branch '12.0-development' into filesystem
2020-12-27 14:22:38 -04:00
Alex Szpakowski
65bfeedd4e
Merge branch 'master' into 12.0-development
2020-12-26 22:48:08 -04:00
Alex Szpakowski
90bd8f1811
Update version
2020-12-24 12:45:08 -04:00