SirLynix
5130a2ff84
Remove Config.hpp options and refactor headers
...
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00
Lynix
67904abd29
Replace Warning string concatenation by WarningFmt
2024-02-13 17:17:04 +01:00
SirLynix
e64c2b036e
Remove Utility module and move its content to Core and TextRenderer modules
2024-02-11 22:48:38 +01:00
SirLynix
57ad486c01
Minor fixes
2024-02-10 13:42:19 +01:00
Lynix
2b88f50c21
Minor improvements
2024-01-29 18:34:46 +01:00
SirLynix
6757de1be8
Add end-of-line spaces checker
2024-01-26 10:43:00 +01:00
SirLynix
5c7059c8fc
Minor fixes
2024-01-13 16:19:46 +01:00
SirLynix
0cd8cff53e
OpenGLRenderer: Minor improvements
2024-01-04 10:19:38 +01:00
SirLynix
cd8c1cb160
Replace reinterpret_cast from/to pointers to BitCast
2024-01-03 17:19:42 +01:00
SirLynix
d2e2c075b4
Update copyright year
2024-01-02 12:02:14 +01:00
SirLynix
6059f608c0
Minor improvements
2023-12-04 00:22:36 +01:00
Lynix
079f153640
Minor fixes
2023-11-28 20:05:09 +01:00
SirLynix
962a2e71c7
Renderer/Texture: Allow to keep the texture format in TextureViewInfo
2023-11-26 21:29:49 +01:00
SirLynix
00935efbe0
OpenGLRenderer/Texture: Fix update of non-2D image types
2023-11-26 21:29:19 +01:00
SirLynix
2622951144
Minor fixes
2023-11-26 11:25:52 +01:00
Lynix
4cbb5b91a3
OpenGLRenderer/FboFramebuffer: Fix texture view emulation with attachment != color0
2023-11-22 14:09:05 +01:00
Lynix
1e81b38c0f
Graphics: Replace RenderFrame by RenderResources
...
This changes makes the whole rendering independent from the RenderFrame acquired from the Swapchain.
This may allow to do offscreen rendering (= without swapchain), or multi-window rendering in the future
2023-11-21 23:33:18 +01:00
Lynix
c352e78e11
Compilation fixes
2023-11-21 07:44:44 +01:00
SirLynix
938ba09d45
Graphics: Rework RenderTargets
...
- RenderTarget have been moved to the Graphics module and are now lightweight objects between the target of rendering (swapchain or texture)
- RenderTexture no longer require a blit between the framegraph texture and the target texture (the target texture is now directly rendered onto using a new feature of the framegraph)
- ForwardFramePipeline viewers are now properly ordered by render order
2023-11-20 23:00:06 +01:00
SirLynix
97d5640967
Renderer: Blit texture to window instead of using a full renderpass
...
This may improve performance and allow for render targets to customize how they blit the final texture (allowing for render-to-texture)
2023-11-17 16:59:31 +01:00
SirLynix
b7aca4b22a
Graphics: Update material shaders
2023-11-16 09:00:21 +01:00
SirLynix
86e26008b3
Minor fixes
2023-11-12 12:51:56 +01:00
SirLynix
4b8a475bbd
Split error macro into two versions (format vs non-formating) to allow format checking at compile-time
2023-11-02 15:18:03 +01:00
SirLynix
da2b49d719
OpenGLRenderer: Fix depthBias constant and slope factors inversion
2023-10-21 19:26:26 +02:00
SirLynix
c191cb227b
Fix compilation
2023-10-14 14:46:49 +02:00
SirLynix
5f8b7b361e
Renderer/CommandBuffer: Add support for InsertDebugLabel
2023-09-06 13:24:31 +02:00
SirLynix
51e0876bed
Renderer/RenderDeviceInfo: Ensure storage/uniform buffer alignment is a power of two
2023-08-31 17:55:15 +02:00
SirLynix
d4b2cede15
Fix compilation of FFMpeg plugin/emscripten/ShaderNode
2023-08-24 17:58:49 +02:00
SirLynix
bd53245f42
Core/StringExt: Don't pass string_view by ref
...
https://quuxplusone.github.io/blog/2021/11/09/pass-string-view-by-value/
2023-08-24 08:23:14 +02:00
SirLynix
a741672a51
Allow error message to be formatted
2023-08-15 01:10:01 +02:00
SirLynix
e8620894f7
Renderer: Expose present mode and allow to query/set it
2023-08-13 18:16:03 +02:00
SirLynix
dee47c6f15
Renderer: Fix BuildMipmaps
2023-07-21 12:12:10 +02:00
SirLynix
4db5b59ec9
Renderer: Refactor transient resources (allow access at any time)
2023-07-21 12:12:10 +02:00
SirLynix
e34ba8c05d
Add ComputeParticlesTest
...
Renderer: Add a way to execute commands on the device
2023-07-21 12:12:10 +02:00
SirLynix
de88873c35
Make use of the new Flags iterator
2023-06-02 17:57:26 +02:00
SirLynix
68b3e31eec
Utility/PixelFormat: use std::string_view to store name
2023-05-30 12:33:40 +02:00
SirLynix
dfe6b2ddcf
Make use of the new EnumMap class
2023-05-30 12:32:37 +02:00
SirLynix
1d32af53c5
Renderer: Add mipmaps generation support
2023-05-14 18:55:41 +02:00
SirLynix
3957687a31
OpenGLRenderer/CommandBuffer: Replace std::visit by a switch (to improve performance)
2023-04-30 21:12:33 +02:00
SirLynix
9b4d297c04
Update includes for new NazaraUtils version
2023-03-19 13:01:56 +01:00
SirLynix
b28a0a8748
OCD fix
2023-03-10 13:25:37 +01:00
SirLynix
2629d2052e
xmake check-files -f
2023-03-03 13:16:13 +01:00
SirLynix
421e684344
OpenGLRenderer: Fix FboFramebuffer making context switches
...
When a window was created and rendered onto, FBO rendering was made on the device reference context which required a context switch.
This has been fixed with OpenGLFboFramebuffer managing a per-context framebuffer and creating one when needed
2023-02-26 13:43:21 +01:00
SirLynix
5833ce573d
Graphics: Switch glyph atlases to R8 instead of A8
...
A8 can't be supported efficiently on API lacking texture swizzle support (DX, WebGL, WebGPU), so we swizzle in the shader instead
2023-02-22 19:11:41 +01:00
SirLynix
5a57aca66a
Last changes
2023-02-02 20:34:25 +01:00
SirLynix
b379518479
Forgot to commit this file
2023-02-02 20:34:25 +01:00
SirLynix
5b3703347f
OpenGLRenderer: Use a single context with WebGL
2023-02-02 20:34:25 +01:00
SirLynix
ea5c5240fc
Improve emscripten support
2023-02-02 20:34:25 +01:00
REMqb
f172330aaf
~ WIP port emscripen (WebGL)
2023-02-02 20:34:25 +01:00
SirLynix
f98cbcd00a
Copyright year update
2023-01-22 17:41:18 +01:00