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
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
niki
65074dae15
hello world triangle
2022-02-04 23:45:58 +01:00
Alex Szpakowski
596f927e0c
Fix https cmake code
2022-01-30 14:06:55 -04: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
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
be6736cba5
Update glslang
2021-12-26 13:13:27 -04: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
Miku AuahDark
994cec9ee8
Add Android-specific conditionals.
2021-02-12 19:48:41 +08: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