Commit Graph

571 Commits

Author SHA1 Message Date
Lynix
de1c64253e Fix missing files 2020-06-04 18:31:43 +02:00
Lynix
25562a5856 Renderer/ShaderAst: Add BinaryFunc 2020-06-04 18:29:50 +02:00
Lynix
effd1b4552 ShaderNode: Handle vector component count at runtime 2020-05-31 18:39:28 +02:00
Lynix
3fc4de26e3 ShaderGraph: Improve GLSL generation by introducing DeclareVariable statement 2020-05-27 20:08:41 +02:00
Lynix
e4348349da Merge branch 'vulkan' into shader-nodes 2020-05-27 20:04:37 +02:00
Lynix
e0e7435c55 Merge fixes 2020-05-27 20:03:46 +02:00
Lynix
68208f5426 Merge branch 'master' into vulkan 2020-05-27 19:48:22 +02:00
Lynix
81f03f04e5 Revert Renderer to its pre-SDL state 2020-05-27 19:42:53 +02:00
Lynix
2d189dc85e Fix WindowHandles 2020-05-27 18:55:03 +02:00
Lynix
b0c72a6101 Replace platform backends by SDL 2020-05-27 17:47:52 +02:00
Jérôme Leclercq
1425f99edf Merge branch 'master' into SDL2 2020-05-27 11:11:21 +02:00
Lynix
d96bc9db6e ShaderNode: Add automatic variables 2020-05-26 20:30:24 +02:00
Lynix
1165093b4e Replace some insert by emplace 2020-05-23 22:08:12 +02:00
Lynix
8fa456bdf5 Renderer: Remake backend selection 2020-05-23 22:07:22 +02:00
Lynix
fdeff2e9d0 ShaderAst: Fix SwizzleOp::GetExpressionType 2020-05-23 22:05:37 +02:00
Lynix
e23eb74802 Renderer/ShaderAst: Add Sample2D 2020-05-19 20:06:11 +02:00
Lynix
8c0d34313e GlslWriter: Fix bug 2020-05-18 19:55:00 +02:00
Lynix
68760209c1 Add OpenGLRenderer (WIP) 2020-04-15 19:38:11 +02:00
Lynix
ebb271a089 Renderer: Fix crash when choosing another renderer 2020-04-15 19:38:01 +02:00
Lynix
d9a08640d6 Vulkan: Add renderpass and framebuffers 2020-04-10 17:36:05 +02:00
Lynix
87f1209327 Vulkan: Refactor command buffer and introduce command pool 2020-04-07 21:10:16 +02:00
Lynix
f443bec6bc Add command buffers (WIP) 2020-04-02 21:07:01 +02:00
Lynix
1dc0ed8e94 Add ShaderBinding 2020-03-26 21:19:46 +01:00
Lynix
874130efd4 Implement Texture and TextureSampler 2020-03-26 21:18:35 +01:00
Lynix
b73d3e8f04 Add and make use of Vulkan Memory Allocator 2020-03-26 21:15:49 +01:00
REMqb
96ea792656 ~ Formatting 2020-03-21 12:42:50 +01:00
Lynix
b774a879b6 Rework buffers synchronization 2020-03-13 18:44:49 +01:00
Lynix
2b3241f354 Add RenderPipelineLayout 2020-03-05 20:35:31 +01:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
5d449095bf Renderer: Add ShaderStage class 2020-02-29 23:28:21 +01:00
Lynix
c05ea4095a Begin work on RenderPipeline 2020-02-25 22:56:08 +01:00
Lynix
7bbba14ba0 Fix merge 2020-02-25 20:22:46 +01:00
Lynix
cb66dddd45 Merge branch 'nazara-next' into vulkan 2020-02-25 19:15:07 +01:00
Lynix
7c1857ba1e Fix missing include 2020-02-23 11:36:50 +01:00
Lynix
8be2342f25 Merge branch 'master' into vulkan 2020-02-23 00:46:48 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Lynix
369e21cafb Align fix 2020-02-04 11:42:11 +01:00
Lynix
db78c9c948 Renderer/Texture: Remove Image constructor 2020-01-09 22:42:28 +01:00
Lynix
a69d7a2e89 Make String::Number locale-independent 2019-12-25 16:26:53 +01:00
REMqb
ef791e2f3c ~ WIP input IME 2019-12-19 19:59:43 +01:00
REMqb
350a1cf09f ~ Fix linux build
~ Fix dopler example
2019-05-19 17:17:37 +02:00
Lynix
ab5188c57d Add scancode and virtual key and fix some sdl stuff on Windows 2019-05-19 16:34:29 +02:00
Lynix
713a70dd10 Renderer/TextureSampler: Set default texture sampler to Clamp 2019-04-06 15:09:05 +02:00
REMqb
848f05a420 ~ Initial SDL2 implementation
Limitation
- Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details
- SDL2 window doesn't supports async window since the API isn't fitting for now
- Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
2019-04-03 21:17:06 +02:00
Jérôme Leclercq
ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
Lynix
d99ae411c6 Renderer/OpenGL: Fix glUniformMatrix4dv not being loaded 2018-09-09 13:56:29 +02:00
Jérôme Leclercq
2fcea6b79f Core/StackArray: Moved StackArray class to its own header 2018-07-02 17:53:49 +02:00
HardCPP
232a371fa5 Add normalLength parameter to the DebugDrawer::DrawNormals (#163) 2018-04-30 14:49:44 +02:00
Lynix
52f80a68cb Renderer/OpenGL: Enable GL_TEXTURE_CUBE_MAP_SEAMLESS 2018-04-21 00:28:57 +02:00
Jérôme Leclercq
cd31e6c397 Add buffer support 2018-03-09 16:49:01 +01:00