Commit Graph

471 Commits

Author SHA1 Message Date
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
Miku AuahDark 57a2a88a09 Android: Rename "openURL" Java method to "openURLFromLOVE"
SDL 2.0.14 adds openURL method which conflicts with LOVE one.
2020-12-24 22:15:15 +08:00
Alex Szpakowski 20a92a4106 Merge branch '12.0-development' into metal 2020-12-22 22:37:17 -04:00
Alex Szpakowski 85ca9f51d3 Merge pull request #1645 from MikuAuahDark/windows-arm-rework
LÖVE on Windows 10 ARM patches (step 2)
2020-12-22 20:04:16 -04:00
Alex Szpakowski b7400892a4 Merge branch 'master' into 12.0-development 2020-12-22 19:35:06 -04:00
Alex Szpakowski 140c1f38c0 Minor code style tweaks 2020-12-22 19:34:23 -04:00
Alex Szpakowski 1f9d98263d Refactor Buffer internals.
Allows buffers created with love.graphics.newBuffer to only allocate VRAM data. Previously they had a copy of their contents in RAM.
Also makes it easier to implement Buffers in other graphics APIs and to implement more types of Buffers in the future.
2020-12-22 19:23:02 -04:00
cigumo 74edaf8fba adds iOS audio interruption handling and recovery 2020-12-08 23:13:52 -03:00
Miku AuahDark 6301b690af Ensure LOVE_SIMD_NEON is defined when compiling for Windows ARM64 2020-12-03 13:53:41 +08:00
Alex Szpakowski 27897b4af1 Merge branch '12.0-development' into metal 2020-10-24 00:36:33 -03:00
Alex Szpakowski 0706b6243c Add love.filesystem.mountFullPath. 2020-10-03 19:28:57 -03:00
Alex Szpakowski 26326a01e0 Merge branch 'master' into 12.0-development 2020-09-21 22:35:19 -03:00
niki 99e1c0034d make love lua 5.4 conform 2020-08-14 19:27:42 +02:00
Alex Szpakowski 7a50f32585 Merge branch '12.0-development' into metal 2020-07-29 18:21:19 -03:00
Alex Szpakowski e60736f5a6 Add Mesh:set/getIndexBuffer. 2020-07-20 22:10:08 -03:00
Alex Szpakowski 9765485222 metal: partial implementation of pipeline states.
Add BGRA8 pixel format.
2020-05-03 12:48:43 -03:00
Alex Szpakowski 99b39065b6 metal: hook up the backbuffer 2020-04-23 18:38:29 -03:00
Alex Szpakowski a5b87a10d1 Merge branch '12.0-development' into metal 2020-02-28 23:21:08 -04:00
Alex Szpakowski 7fbb68e90e Merge branch '12.0-development' into GraphicsBuffer 2020-02-28 23:10:21 -04:00
Alex Szpakowski e188740c18 Fix a link error on Windows 2020-02-28 22:17:20 -04:00
Alex Szpakowski e71f27c65d Move Lua wrapper code for Variants out of the Variant class file. 2020-02-28 21:54:03 -04:00