Commit Graph

303 Commits

Author SHA1 Message Date
Jérôme Leclercq 1425f99edf Merge branch 'master' into SDL2 2020-05-27 11:11:21 +02:00
Lynix db78c9c948 Renderer/Texture: Remove Image constructor 2020-01-09 22:42:28 +01:00
Lynix ab5188c57d Add scancode and virtual key and fix some sdl stuff on Windows 2019-05-19 16:34:29 +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
Alexandre Janniaux 5343b581ad Warnings: fix opengl redefined name (#196)
* opengl: use official include names

* thirdparty: rename GL3 into GL
2019-02-13 01:05:07 +01: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
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
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 7eff1f34f1 Fix warning 2017-11-19 20:14:47 +01:00
Lynix 8dab3bf341 Renderer/ShaderBuilder: Fix compilation error when including ShaderBuilder.hpp 2017-10-30 22:30:04 +01:00
Lynix d688cecbde Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
Utility: Removed Window::Get[Height|Width] methods
2017-10-28 23:26:22 +02:00
Gawaboumga bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Lynix 8569d7da88 Renderer: Make RenderTarget movable 2017-09-30 15:00:54 +02:00
Lynix 508554fcb1 Fix some more warnings 2017-09-30 15:00:42 +02:00
Lynix 0fa3565435 Renderer/Context: Disable movement 2017-09-30 14:53:58 +02:00
Lynix 2cd9fa2b7a Core: Add MovablePtr class 2017-09-30 13:57:25 +02:00
Lynix 923ffb6d0a Renderer/ShaderAst: Fix missing file from previous commit 2017-08-30 18:21:44 +02:00
Lynix cb69b1ed01 Renderer/ShaderAst: Add ConditionalStatement 2017-08-30 18:21:44 +02:00
Lynix 205b8b1ba6 Renderer/ShaderAst: Add Swizzle 2017-08-30 18:21:43 +02:00
Lynix 832237c6d4 Renderer/ShaderAst: Fix a few multiply/divide cases 2017-08-30 18:21:42 +02:00
Lynix fd5bf16a90 Renderer/ShaderBuild: Fix build? 2017-08-30 18:21:42 +02:00
Lynix 8a68df4c56 Forgot to save all files.. 2017-08-30 18:21:41 +02:00
Lynix f0a7430d34 Renderer/ShaderAst: Fix compilation errors on Linux 2017-08-30 18:21:40 +02:00
Lynix bd8a3ba47d Renderer: Replace shaders files by runtime-generated GLSL 2017-08-30 18:21:40 +02:00
Lynix 8fd152aec0 Renderer/ShaderAst: Rename Builtin enum to BuiltinEntry 2017-08-30 18:21:39 +02:00
Lynix a60836c45a Revert "Renderer/ShaderBuilder: Rename Builtin to BuiltinVariable"
This reverts commit 193c0d4a92.
2017-08-30 18:21:38 +02:00
Lynix f72b3ed57d Renderer/ShaderBuilder: Rename Builtin to BuiltinVariable 2017-08-30 18:21:37 +02:00
Lynix a5a228e0c7 Renderer/ShaderAst: Add Constant overloads 2017-08-30 18:21:36 +02:00
Lynix 021ac3d971 Renderer/ShaderAst: Fix Mat4x4 handling 2017-08-30 18:21:36 +02:00
Lynix 10a1bec793 Renderer/ShaderAst: Fix support for matrix4 type 2017-08-30 18:21:35 +02:00
Lynix 2a57af9896 Renderer/ShaderAst: Add Cast node 2017-08-30 18:21:34 +02:00
Lynix a84391cf08 Renderer/ShaderAst: Add support for expression type 2017-08-30 18:21:33 +02:00
Lynix 12321bc59a Renderer/ShaderBuilder: Add builder for remaining binary operations 2017-08-30 18:21:33 +02:00
Lynix 3ed661f387 Renderer/ShaderAst: Add input and outputs variables 2017-08-30 18:21:32 +02:00
Lynix f7c4c86934 Renderer/ShaderBuilder: Cleanup 2017-08-30 18:21:31 +02:00
Lynix 386c3b1132 Renderer/ShaderBuilder: Add builder for builtins 2017-08-30 18:21:30 +02:00
Lynix e82fb7fef4 Renderer/ShaderAst: Add NamedVariable and BuiltinVariable classes 2017-08-30 18:21:30 +02:00
Lynix 43e23fea47 Renderer/GlslWriter: Add comment sections 2017-08-30 18:21:29 +02:00
Lynix f487761940 Renderer/GlslWriter: Add #version directive 2017-08-30 18:21:28 +02:00
Lynix d538a7ddf5 Renderer/GlslWriter: Add support for Uniform and Parameters variables 2017-08-30 18:21:27 +02:00
Lynix 5c3e67bb26 Renderer/GlslWriter: Move variables to the function scope 2017-08-30 18:21:26 +02:00
Lynix 5c6df52fbf Commit current work 2017-08-30 18:21:25 +02:00
Gawaboumga 5aa072cee3 New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module

Final touch

* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Lynix 2fe905a453 Increase instance buffer size 2017-08-16 20:33:37 +02:00
Lynix fc2fd81719 Utility: Make Window constructor explicit 2017-08-16 20:33:13 +02:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix b468dbe092 Renderer: Add uniform dumper when shader fails to validate 2016-12-18 00:36:41 +01:00
Lynix b410956d1b Renderer/Renderer: Change texture unit parameter from UInt8 to unsigned int 2016-12-18 00:36:05 +01:00