Miku AuahDark
f43c6fedeb
Add physfs_platform_android.cpp as source files.
2023-09-28 15:54:36 +08:00
Sasha Szpakowski
ddf88c64bd
Update lua-https to latest commit ( love2d/lua-https@6dbce69 )
2023-08-30 21:47:26 -03:00
Sasha Szpakowski
6e80d85110
Merge branch 'main' into 12.0-development
2023-08-19 21:35:55 -03:00
Henry Goschütz
662c01ff9d
Fix reference to old 'macosx.mm'
2023-07-10 23:37:32 +02:00
Joel Schumacher
efc54d5124
Add PHYSFS_Io StripSuffixIo to skip codesign signatures
...
When a fused löve executable is signed with codesign on Windows some
data is appended to the executable, preventing physfs from finding the
zip file at the end of the file.
To help physfs out a bit, we try to find the zip ourselves in the case
of regular mount failure by looking for it's characteristic end of
central directory record and, once found, pretend to physfs that the
file is shorter than it actually is and ends at the end of the zip file.
2023-05-18 13:57:07 +02:00
Er2
94daeea31e
Add FindHarfbuzz.cmake
2023-02-11 16:56:58 +00:00
Sasha Szpakowski
d085f44e6a
Merge branch '12.0-development' into text-shaping
2023-01-01 12:18:54 -04:00
Sasha Szpakowski
74f884b41f
Merge branch 'main' into 12.0-development
2023-01-01 10:57:32 -04:00
Miku AuahDark
0b0ff5551f
Hide symbol visibility in CMake and Android.mk.
2023-01-01 15:16:26 +08:00
Miku AuahDark
3a49dc555a
Fix megasource link.
2023-01-01 14:46:25 +08:00
Sasha Szpakowski
f6cdbdc868
Merge branch 'main' into 12.0-development
2022-12-31 22:46:34 -04:00
Sasha Szpakowski
c823dbca96
Update copyright year for 2023
2022-12-31 22:25:49 -04:00
Sasha Szpakowski
7a0f6621e7
Initial (WIP) Harfbuzz text shaping integration.
...
This a significant refactor / rewrite of much of the love.graphics Font code.
Text positioning is now split into TextShaper classes in the love.font module. This isn't exposed to users yet.
BMFonts and ImageFonts use the same text shaping as before (in the new TextShaper API). Fonts loaded via FreeType now use Harfbuzz for text shaping.
The new code isn't at feature-parity with the old code yet. Harfbuzz-based text shaping enables kerning support in more fonts, character combining into ligature glyphs, and directions other than left-to-right (this isn't supported in love yet).
2022-12-26 19:06:08 -04:00
Sasha Szpakowski
f17d3d94f1
Rename love.graphics Text objects to TextBatch.
...
The name Text is too generic compared to what they're designed for, it made people unnecessarily confused about their purpose.
2022-12-08 18:46:44 -04:00
Miku AuahDark
93612a84d1
Bump minimum SDL version to 2.0.9
2022-12-06 14:19:53 +08:00
Miku AuahDark
8f7eac4fde
Initial sensor module.
2022-12-05 13:33:04 +08:00
niki
e95319873c
Merge remote-tracking branch 'upstream/12.0-development' into 12.0-development
2022-10-25 13:52:35 +02:00
Miku AuahDark
9deaa06a73
Windows: Slight changes to ARM64 support.
...
* Disable NSIS installer if we're compiling for Windows ARM64.
* Allow arbitrary files to be added as LOVE_EXTRA_DLLS
2022-10-17 00:28:07 +08:00
niki
302420de23
remove vulkan requirement from cmake
2022-10-15 14:57:32 +02:00
Miku AuahDark
857cf40636
LuaSocket: Enable Unix sockets in Windows
2022-10-08 13:21:56 +08:00
Miku AuahDark
badc311aee
Update LuaSocket to 3.1.0
...
Also perform minor refactor on how LuaSocket are preloaded.
2022-10-08 12:54:20 +08:00
niki
735c8b0290
vulkan: provide vulkan headers ourselves
2022-09-20 02:10:51 +02:00
niki
850749fac0
linux build: use c++14
2022-09-18 20:39:55 +02:00
niki
3a74fecb22
vulkan: outsource used libraries
2022-09-16 02:25:36 +02:00
niki
6a2d1a9edd
vulkan: use dynamic loading
...
If Vulkan ist not available on a system the program will still run,
and it will fallback to opengl.
2022-09-13 14:11:24 +02:00
niki
ec5a3a50f9
vulkan: implement graphics readback
2022-08-30 17:11:59 +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
f4ece69307
Merge remote-tracking branch 'origin/12.0-development' into vulkan
2022-08-15 03:43:35 +02:00
niki
f9ad1842b5
vulkan: first iteration for generic uniforms
...
Until now we only considered the builtin uniform variables.
This commit attempts to make the code in the vulkan Shader
implementation more general, as to allow for custom uniforms.
This is not possible yet, but should be easier to implement now.
2022-08-14 04:56:20 +02:00
Alex Szpakowski
2149457c72
Merge branch 'main' into 12.0-development
2022-06-18 17:52:27 -03:00
niki
b5ba2b65b5
stop hardcoding vulkan vertex layouts
2022-06-16 01:16:23 +02:00
niki
4c415479c0
Merge remote-tracking branch 'origin/12.0-development' into vulkan
2022-06-11 01:22:29 +02:00
Alex Szpakowski
4a1d01c68c
Fix cmake builds
2022-05-30 22:14:02 -03:00
Alex Szpakowski
3a5c3df02f
Add sync and async texture and buffer readback APIs.
...
- Add imagedata = love.graphics.readbackTexture(texture, [slice, mipmap, x, y, w, h, [dest, destx, desty]]).
- Add readback = love.graphics.readbackTextureAsync(texture, [slice, mipmap, x, y, w, h, [dest, destx, desty]]).
- Add bytedata = love.graphics.readbackBuffer(buffer, [offset, size, [dest, destoffset]]).
- Add readback = ove.graphics.readbackBufferAsync(buffer, [offset, size, [dest, destoffset]]).
- Deprecate Texture:newImageData.
The async variants return a new GraphicsReadback object. It has the following methods:
- isComplete()
- hasError()
- wait()
- getBufferData()
- getImageData()
- update() (called automatically every frame by love, not normally needed).
Support notes:
- readbackBuffer and readbackBufferAsync require buffer copying support.
- readbackTexture with a render target (canvas) is always supported. readbackTexture with a non-render-target requires copy-texture-to-buffer support.
- readbackTextureAsync with a render target requires copy-render-target-to-buffer support. readbackTextureAsync with a non-render-target requires copy-texture-to-buffer support.
2022-05-30 21:53:55 -03:00
niki
75a6bc9b5d
Merge remote-tracking branch 'origin/12.0-development' into vulkan
2022-05-06 16:46:55 +02:00
niki
1b816e93ae
usa vma as single header lib not through cmake
2022-05-04 15:42:36 +02:00
niki
74c0c192f7
add VMA as library
2022-05-03 21:09:16 +02:00
niki
77f1af598d
add skeleton for vulkan texture impl
2022-05-03 18:11:31 +02:00
Alex Szpakowski
1e85893abb
Add new DataStream subclass of Stream, internal-only for now.
2022-04-21 19:52:46 -03:00
Alex Szpakowski
bb9c342972
Remove unused GME sound decoder backend.
2022-04-18 20:41:55 -03:00
Alex Szpakowski
5175b0d1b5
Windows: fix some cases of stuttering in windowed mode.
...
Use DwmFlush instead of OpenGL vsync, when specific conditions are met. Fixes #1628 .
2022-04-17 11:26:06 -03:00
Alex Szpakowski
0b6722ea0e
Merge branch 'main' into 12.0-development
2022-04-15 23:47:28 -03:00
Miku AuahDark
6031a6c636
Fix Android compile error.
2022-03-05 21:46:33 +08:00
Alex Szpakowski
0d74419259
cmake: add warning about use on macOS
2022-02-13 16:11:58 -04:00
Mansour Moufid
b822b9cbe7
Prepend LOVE_INCLUDE_DIRS rather than append.
2022-02-06 17:06:37 -05:00
Mansour Moufid
440bbeb9b3
Link to system frameworks.
2022-02-06 16:38:47 -05:00
Mansour Moufid
a6b6103b87
Enable LuaJIT on macOS.
2022-02-06 16:38:21 -05:00
niki
4d7fe75001
add vulkan streambuffer implementation
2022-02-04 23:48:36 +01:00
niki
d09f834bf3
first draft of vulkan buffer implementation
2022-02-04 23:48:36 +01:00