Commit Graph

2427 Commits

Author SHA1 Message Date
Lynix b774a879b6 Rework buffers synchronization 2020-03-13 18:44:49 +01:00
Lynix 63547fcd4e Replace DeviceHandle by references
and keep device alive until Vulkan is freed
2020-03-13 18:38:26 +01:00
Lynix 4cf24cde7d VertexDeclaration: Add check for duplicates 2020-03-08 18:10:23 +01:00
Lynix 28cf4ed6e3 Make Vk::Device store a reference to Vk::PhysicalDevice info 2020-03-08 18:10:12 +01:00
Lynix 0e27c2315f Move Vulkan functions list to external files 2020-03-08 18:09:45 +01:00
Lynix 2b3241f354 Add RenderPipelineLayout 2020-03-05 20:35:31 +01:00
Lynix 4941de61da Spaaaace 2020-03-05 17:28:16 +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 74275292bf Some cleanup 2020-03-05 17:24:55 +01:00
Lynix 9515f1c807 Improve synchronization based on vulkan-tutorial
https://vulkan-tutorial.com/Drawing_a_triangle/Drawing/Rendering_and_presentation
2020-03-04 20:13:37 +01:00
Lynix 9f4037e461 Reverse front face 2020-03-04 18:55:37 +01:00
Lynix 7ba9a33d35 Add Fence objects (+ use them for sync) 2020-03-04 18:50:41 +01:00
Lynix 7bf734cdd4 Improve pipeline building 2020-03-03 22:26:57 +01:00
Lynix d5c75926c6 WIP (VertexDeclaration) 2020-03-03 01:04:24 +01:00
Lynix 287be5d9b6 WIP 2020-03-01 20:31:48 +01:00
Lynix 286461c482 Make use of Nazara uniform buffer 2020-03-01 12:49:49 +01:00
Lynix af28ea02a8 Vulkan usage fixes 2020-02-29 23:28:59 +01:00
Lynix 5d449095bf Renderer: Add ShaderStage class 2020-02-29 23:28:21 +01:00
Lynix 798425ce10 Some work on render pipelines 2020-02-27 23:12:29 +01:00
Lynix 2944d73586 Fix instance extensions/layers query 2020-02-27 23:12:05 +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 b6b3ac9f31 Move SDK include and source to base 2020-02-24 18:23:30 +01:00
Lynix eb8800f812 Remove Lua and Noise modules 2020-02-24 17:52:06 +01:00
Lynix 79f732ee8a VulkanRenderer: Replace ObjectHandle by std::shared_ptr/raw pointers 2020-02-23 12:02:15 +01:00
Lynix 7c1857ba1e Fix missing include 2020-02-23 11:36:50 +01:00
Lynix 6fd31d1c71 [Posix] Moar fixes 2020-02-23 11:29:54 +01:00
Lynix a51e77fe83 [Posix] Fix compilation 2020-02-23 11:14:41 +01:00
Lynix 6ec2f3e56e More Linux fixes 2020-02-23 02:49:32 +01:00
Lynix 3857025253 *darth vader yelling noooooo gif* 2020-02-23 02:38:06 +01:00
Lynix 97a62a4817 StringExt: Fix some template mistakes 2020-02-23 02:35:09 +01:00
Lynix 9ac5aadc9d I swear I fixed that 2020-02-23 02:29:47 +01:00
Lynix f084c30d70 Posix fixes 2020-02-23 02:26:36 +01:00
Lynix 8ace61ce7d DynLib: Posix fixes 2020-02-23 02:17:27 +01:00
Lynix 364122f582 SparsePtr: Make pointer conversion explicit 2020-02-23 02:06:48 +01:00
Lynix 0c008236ba Minor fixes + update vulkan include 2020-02-23 01:28:16 +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 e35caebdcf Core: Add ByteArrayPool and PoolByteStream classes 2020-02-04 11:42:05 +01:00
Lynix d435826651 Forgot this 2020-01-26 17:30:32 +01:00
Lynix 63c9cf7b18 Remove useless cast 2020-01-26 17:29:42 +01:00
Lynix 468b63bef5 Aw shit, forgot a lot of things 2020-01-26 17:13:52 +01:00
Lynix 8c7301f649 Utility/RichTextDrawer: Add character & line spacing offsets 2020-01-26 16:57:56 +01:00
Lynix 11d51872fa Utility/SimpleTextDrawer: Add character spacing offset 2020-01-26 16:18:28 +01:00
Lynix 548ede4613 Utility/*TextDrawer: Use float internally
+ some fixes
2020-01-25 19:07:20 +01:00
Lynix 59d80dbe6d Utility/SimpleTextDrawer: Fix a lot of minor bugs
+ add .inl
2020-01-25 15:25:10 +01:00
Lynix d3ad92f063 Update default font (Sansation => OpenSans)
Sansation was too sci-fi...
2020-01-18 16:31:57 +01:00
Lynix db78c9c948 Renderer/Texture: Remove Image constructor 2020-01-09 22:42:28 +01:00
Lynix 16d0345502 Update default font (Cabin => Sansation) 2020-01-06 18:26:39 +01:00
Lynix c73d08af9b Core/Thread: Make use of SetThreadDescription if possible (win32) 2020-01-06 15:35:48 +01:00
Lynix b3af14f65a Utility/OBJLoader: Fix OBJ uvs 2020-01-04 12:15:54 +01:00
Lynix df2a029f30 Physics2D/Collider2D: Add support for neighbors vertices 2020-01-01 17:25:22 +01:00
Lynix 35cf05e3bc Core: Add EmptyStream class 2019-12-29 16:25:40 +01:00
Lynix 0bcd8769fe Nazara/Network: ENetHost::GetTotalReceivedPackets now returns the number of commands received 2019-12-29 11:55:07 +01:00
Lynix 24cb8f6845 Add ENet::GetTotalPacketReceived 2019-12-29 11:54:00 +01:00
Lynix 2dcf154553 Oops² 2019-12-28 17:32:37 +01:00
Lynix 56243f5a12 Nazara/Network: Add GetTotalByte[Received|Sent] 2019-12-28 17:31:21 +01:00
Lynix 9f8e83087a Oops 2019-12-28 17:19:40 +01:00
Lynix 57b37c3d2c Minor fixes 2019-12-28 15:06:31 +01:00
Lynix fcfcc94c49 Fix RichTextDrawer ignoring max line width 2019-12-28 12:03:41 +01:00
Lynix 97418bfe04 RichText: Add support for outline color/thickness 2019-12-28 11:43:48 +01:00
Lynix a69d7a2e89 Make String::Number locale-independent 2019-12-25 16:26:53 +01:00
Lynix 6920c7c3f7 Fix skybox background looking like crap 2019-12-23 19:45:52 +01:00
Lynix e282b842b4 Add Node::SetScale(Vector2) to prevent a bug 2019-12-22 17:01:05 +01:00
Lynix 3b43f57192 Added physics function to control sleeping behavior 2019-12-19 21:33:56 +01:00
Lynix 7e6dcdf740 Wait wat 2019-12-13 17:25:00 +01:00
Lynix 3760c8b5c4 Utility/Node: Fix negative scaling not affecting rotation 2019-12-13 17:23:01 +01:00
Lynix be8e89b228 Math: Remove all Set(class) methods 2019-12-10 09:49:40 +01:00
Lynix c668d02747 Nazara/Lua: Fix my dumb ass 2019-10-22 14:29:29 +02:00
Lynix 62023c6af7 Physics2D/RigidBody2D: Fix body type not being copied 2019-10-15 09:34:55 +02:00
Lynix 76812510a1 Core/GuillotineBinPack: Prevent heap allocation when calling Insert with multiple rectangles 2019-09-25 16:18:23 +02:00
Lynix 3c7addc262 Utility/RichTextDrawer: Fixes block removal not adjusting glyph indexes
+ Add HasBlocks method
2019-09-25 09:36:57 +02:00
Lynix 8e4df4cadc SDK: Add RichTextAreaWidget (WIP) 2019-09-25 09:36:57 +02:00
Lynix 451b3de69c Utility: RichTextDrawer now works (WIP) 2019-09-25 09:36:57 +02:00
Lynix 6bc99a6d5e Utility/SimpleTextDrawer: Fix reserve 2019-09-25 09:36:57 +02:00
Lynix 55e3e05f0c Improve line wrap
It will now try to separate at word separations
2019-07-06 19:32:11 +02:00
Lynix 0ec1480024 Add line wrapping 2019-07-05 23:12:12 +02:00
Lynix 37c16dc202 Platform/Event: Add x/y mouse position to MouseWheelEvent 2019-07-05 22:17:22 +02:00
Lynix c23248c564 PhysWorld2D: Fix possible stack overflow when using wildcard collision handler 2019-06-16 15:40:24 +02:00
Lynix dcfd2ad8f9 Physics2D/PhysWorld2D: Add RaycastQuery and RegionQuery overloads taking a callback 2019-05-27 22:42:37 +02:00
Jérôme Leclercq 278ff26795 Forgot to fix this for Linux too 2019-04-24 14:29:55 +02:00
Jérôme Leclercq 408d37a27a Network/IpAddress: Fix problem with some IPv6 2019-04-24 13:46:02 +02:00
Lynix 57264a5650 SimpleTextDrawer: Don't regenerate glyphs on outline color update 2019-04-22 17:05:15 +02:00
Lynix 79b0bd644c Add text outlines! 2019-04-16 01:46:26 +02:00
Lynix 8a8c233840 Oops 2019-04-15 16:26:30 +02:00
Lynix e61faae089 Physics2D/PhysWorld2D: Fix multiple calls to RegisterCallbacks with the same collision id 2019-04-15 16:25:40 +02:00
Lynix 080b76a23c Utility/Font: Fix bold not working since last commit 2019-04-13 13:39:19 +02:00
Lynix 0582cbfc26 Utility: Replace UInt32 by TextStyleFlags 2019-04-13 13:09:53 +02:00
Lynix 713a70dd10 Renderer/TextureSampler: Set default texture sampler to Clamp 2019-04-06 15:09:05 +02:00
Lynix 3efb54ea3c Physics2D/RigidBody2D: Fix SetPosition 2019-04-03 21:14:17 +02:00
Lynix 0ca823f9a6 Graphics: Remove sprite limit 2019-03-31 16:31:02 +02:00
Lynix 23887cc519 Merge branch 'master' into physics2d-position-offset 2019-03-26 20:33:40 +01:00
Lynix c05d39ed28 Fix some indentation shit 2019-03-26 19:09:46 +01:00
Lynix 1f5a82d178 Physics2D/Collider2D: Fix CircleCollider2D center of mass 2019-03-26 19:04:13 +01:00
Lynix 11e98918ab Physics2D/Collider2D: Add ForEachPolygon method 2019-03-26 19:03:56 +01:00
Lynix ce43b633b9 Physics3D/Collider3D: Update ForEachPolygon signature 2019-03-26 19:02:27 +01:00
Lynix 3beeeebc1d Physics2D/RigidBody: Add position offset 2019-03-26 18:59:18 +01:00
Jérôme Leclercq ffc58e9806 Fix compilation 2019-03-20 17:18:45 +01:00