niki
1b816e93ae
usa vma as single header lib not through cmake
2022-05-04 15:42:36 +02:00
niki
e6f8b465bc
use vma for streambuffer implementation
2022-05-04 15:41:50 +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
niki
394956e320
ignore minsize in StreamBuffer::map
2022-05-03 17:51:54 +02:00
niki
9299219977
perform prepareDraw only once per frame
2022-05-03 17:51:35 +02:00
niki
0953f3540e
remove temporary files after compilation
2022-05-03 17:51:18 +02:00
niki
6dc12be45d
fix crash on resizing
2022-03-22 14:32:41 +01:00
niki
158052c52c
implement basic per frame uniform variables
2022-03-22 14:31:50 +01:00
niki
157c8f8a20
include custom vulkan shader in love source
2022-03-21 15:26:27 +01:00
niki
197dfb9738
start implementing vulkan Shader type
2022-02-06 22:56:24 +01:00
niki
4692a0490c
basic functionality for indexed draw in vulkan
2022-02-06 02:11:20 +01:00
niki
c398fdecb6
Merge branch 'vulkan' of https://github.com/nikeinikei/love into vulkan
2022-02-05 20:45:24 +01:00
niki
7d680838b6
restructure to not hardcore draw vk commands
2022-02-05 20:44:36 +01:00
niki
00a5d5b0a0
restructure to not hardcore draw vk commands
2022-02-05 20:43:41 +01:00
niki
f39d01e940
Merge branch 'vulkan' of https://github.com/nikeinikei/love into vulkan
2022-02-05 01:53:05 +01:00
niki
8694655edd
use shaderc instead of glslang to compile shader
2022-02-04 23:48:36 +01:00
niki
7b8fcfb919
fix vulkan::StreamBuffer::unmap
2022-02-04 23:48:36 +01:00
niki
4e583c8cf8
make vulkan::ShaderStage non abstract
2022-02-04 23:48:36 +01:00
niki
1267f2a7bb
make vulkan::Shder non abstract
2022-02-04 23:48:36 +01: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
b80ef89e8d
handle resizing correctly
2022-02-04 23:48:32 +01:00
niki
65074dae15
hello world triangle
2022-02-04 23:45:58 +01:00
niki
cc56c79606
use shaderc instead of glslang to compile shader
2022-02-04 20:07:27 +01:00
niki
867766dafe
fix vulkan::StreamBuffer::unmap
2022-02-04 20:03:41 +01:00
niki
9b176cbcde
make vulkan::ShaderStage non abstract
2022-02-04 20:03:23 +01:00
niki
829b33a77e
make vulkan::Shder non abstract
2022-02-04 20:01:59 +01:00
Alex Szpakowski
5549279eb1
Use metal by default on supported systems.
...
There are still issues to fix with the Metal backend, but it's more easily testable now at least.
2022-01-31 21:27:59 -04:00
Alex Szpakowski
6e49b1f901
metal: fix texture sampler changes not affecting draws using shaders.
2022-01-31 21:25:49 -04:00
Alex Szpakowski
81791a3217
Merge pull request #1768 from slime73/https
...
Add HTTPS Lua module.
2022-01-30 16:47:36 -04:00
Alex Szpakowski
8029c25898
Virtual destructor for HTTPSClient.
2022-01-30 16:21:25 -04:00
Alex Szpakowski
48a6fb4374
https: add missing config.h
2022-01-30 16:07:43 -04:00
Alex Szpakowski
c748f45ed4
Fix gitignore ignoring any file prefixed with 'config'.
2022-01-30 16:07:25 -04: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
f4a85f42df
metal: Apple Silicon macs also support rgba4 / rgb5a1 / rgb565.
2022-01-24 21:19:40 -04:00
Alex Szpakowski
b3d37e5fc2
metal: Apple Silicon macs support PVRTC/ETC/ASTC textures.
2022-01-24 21:09:33 -04:00
Alex Szpakowski
e4020e439a
metal: lowdpi on macOS uses nearest instead of linear upscaling.
...
Matches the behaviour of the OpenGL backend on macOS.
2022-01-23 12:55:06 -04:00
Alex Szpakowski
4de258b5fb
Update changelog
2022-01-23 12:42:13 -04:00
Alex Szpakowski
a5351e5046
metal: improve detection of rgba32f format filter and MSAA support.
2022-01-23 11:28:09 -04:00
Alex Szpakowski
6dbb7fa5de
Add love.graphics.setStencilMode. Remove old stencil API.
...
- Add setStencilMode(drawaction, comparemode, value = 0, readmask = 0xFF, writemask = 0xFF).
- Add getStencilMode.
- Remove love.graphics.stencil.
- Remove love.graphics.set/getStencilTest.
Note that the new setStencilMode API does not clear the stencil buffer, and does not turn off color writes (it can still be done manually), unlike love.graphics.stencil.
Fixes #1161 .
Fixes #1251 .
2022-01-22 23:36:07 -04:00
Alex Szpakowski
173fe3dab5
Add a love.graphics.setColorMask variant which accepts a single bool.
...
Remove the variant which accepted no args - it would be too confusing because setColorMask(false) does the opposite of what setColorMask(nil) used to do.
2022-01-22 23:27:53 -04:00
Alex Szpakowski
c26f6ed94f
metal: improve performance of auto depth/stencil in setCanvas.
2022-01-22 23:12:42 -04:00
Alex Szpakowski
4c3c875aa9
metal: clean up some code around render pipeline states.
2022-01-22 21:29:57 -04:00
Alex Szpakowski
87592513a2
metal: fix automatic depth/stencil with setCanvas.
2022-01-22 20:57:06 -04:00
Alex Szpakowski
8c496d60e5
metal: add a couple comments clarifying depth format fallbacks.
2022-01-22 14:51:37 -04:00
Alex Szpakowski
1cf0073cf4
metal: use a fallback for fonts when luminance-alpha isn't supported.
2022-01-22 14:41:42 -04:00
Alex Szpakowski
62de8f62c7
metal: hook up emulated 'fan' mesh draw mode.
2022-01-22 12:59:09 -04:00
Alex Szpakowski
3ecae61189
metal: improve texture initialization.
2022-01-16 14:18:34 -04:00