Commit Graph

54 Commits

Author SHA1 Message Date
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
7ed3c61b53 Tweaks 2021-09-01 16:04:10 +02:00
Jean-Baptiste Perrier
ad0c39e4ac Typo 2021-09-01 08:58:15 +02:00
Jean-Baptiste Perrier
19ee939c5d Add Render2D::DrawTexturedTriangles variations 2021-09-01 06:57:41 +02:00
Wojtek Figat
f5e5686853 Optimize includes in ThreadLocal.h 2021-07-08 00:34:49 +02:00
Wojtek Figat
72599b18ce Fix crash with too big blur strength used in Render2D
#558
2021-06-30 11:56:42 +02:00
Wojtek Figat
94f50ce8cb Cleanup some headers in Graphics module 2021-06-18 16:38:44 +02:00
Wojtek Figat
f5a6a18232 Fix stability on exit or when doing heavy resources streaming stress tests 2021-06-18 15:20:39 +02:00
Wojtek Figat
a75e403b35 Fixes 2021-06-15 13:51:16 +02:00
Wojtek Figat
f237d5d87d Post merge fixes to font reference as class
#420
2021-06-09 12:16:50 +02:00
Wojtek Figat
3c2b1a232c Merge commit '4bb703e9bfadf44c562f69bab069fd8be26eda97' 2021-06-09 12:04:12 +02:00
Wojtek Figat
79b03f6b5c Fix cached font usage to use proper unmanaged object validation check (not only managed object ref)
#546
2021-06-09 11:11:32 +02:00
Wojtek Figat
44433bf3b4 Add 9-slicking support for UI to draw sprites and textures
#155
2021-05-29 13:48:00 +02:00
Wojtek Figat
1a4277994b Fix crash on Font invalidate 2021-05-22 22:34:35 +02:00
GoaLitiuM
4bb703e9bf Change FontReference to reference type
FontReference is mutating itself by storing the cached font for later
reuse, but this is not working as intended because FontReference is
returned as a value type in UIControls so the cached font is actually
stored in a copy of the FontReference and not in the original property.
2021-05-18 18:29:09 +03:00
Wojtek Figat
9a617c630b Fix api error 2021-05-16 18:54:40 +02:00
Wojtek Figat
dbb42e9805 Fix minor warnings in shaders 2021-05-15 14:19:40 +02:00
Wojtek Figat
42461f1b4a Fix crash when drawing 2d sprite with invalid atlas specified 2021-05-14 11:02:42 +02:00
Wojtek Figat
b2ecceab44 Fix text processing with wrapping enabled if layout bounds width equals the line width
#518
2021-05-13 15:00:40 +02:00
Wojtek Figat
480947e0a9 Fix sprite atlas serialization after editing 2021-05-12 16:19:59 +02:00
Wojtek Figat
36d06ccaa3 Fix crash when reimporting sprite atlas
#494
2021-05-12 13:58:23 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
9ed0138a17 Fix crash on using Space char in font with no font atlases initialized 2021-03-14 19:01:42 +01:00
Wojtek Figat
81f3a65a5f Merge branch 'fix-per-window-dpi' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-per-window-dpi
# Conflicts:
#	Source/Editor/Utilities/Utils.cs
#	Source/Editor/Windows/Assets/MaterialWindow.cs
#	Source/Editor/Windows/Assets/ParticleEmitterWindow.cs
#	Source/Engine/Platform/Linux/LinuxWindow.cpp
#	Source/Engine/Platform/Windows/WindowsWindow.cpp
2021-03-08 20:50:31 +01:00
Wojtek Figat
489e8ddc42 Format code 2021-03-01 11:55:31 +01:00
Jean-Baptiste Perrier
a1e8056070 Missing empty line. 2021-02-28 00:41:38 +01:00
Jean-Baptiste Perrier
86ce671c0d Add doc. 2021-02-28 00:40:41 +01:00
Jean-Baptiste Perrier
16056a00e0 Add inherit param. 2021-02-28 00:37:30 +01:00
Jean-Baptiste Perrier
0d82be3ac8 Current tint mult by previous one. 2021-02-27 22:43:56 +01:00
Jean-Baptiste Perrier
f939eec924 Tweak Render2D Tint. 2021-02-27 18:18:34 +01:00
Jean-Baptiste Perrier
ab77e5ef31 Add Tint to Render2D. 2021-02-27 18:14:20 +01:00
Wojtek Figat
3ddd64df2a Add support for drawing SpriteHandle in Sprite Render 2021-02-23 13:57:51 +01:00
Ari Vuollet
49a0d66bfe Fix font character and hit location calculations with line spacing 2021-02-20 23:14:09 +02:00
Jean-Baptiste Perrier
622e608d76 Merge branch '1.1' of https://github.com/FlaxEngine/FlaxEngine into render2d 2021-02-17 14:39:51 +01:00
Jean-Baptiste Perrier
9144f6dcc9 Remove Array include. 2021-02-16 16:08:20 +01:00
Jean-Baptiste Perrier
bc073b73cc Add check. 2021-02-16 16:05:48 +01:00
Jean-Baptiste Perrier
588ad86f8e Fix Span Count -> length. 2021-02-16 16:05:34 +01:00
Jean-Baptiste Perrier
653e9609e4 Span + Naming 2021-02-16 10:14:42 +01:00
Jean-Baptiste Perrier
b1f867f107 Add DrawVertices & FillTriangle funcs. 2021-02-15 19:33:25 +01:00
Jean-Baptiste Perrier
674e09e72b Add WriteTri helpers funcs. 2021-02-15 19:32:43 +01:00
Wojtek Figat
312e4ad010 Merge branch 'master' into 1.1
# Conflicts:
#	Source/Engine/Content/JsonAsset.h
#	Source/Engine/Core/Config/Settings.h
2021-02-15 10:40:59 +01:00
Wojtek Figat
81e41d51c8 Remove Unlink from asset reference 2021-02-10 11:37:14 +01:00
stefnotch
f5b48e03e9 Per window DPI 2021-02-07 17:26:41 +01:00
Wojtek Figat
6ffa497c0a Fixes for Render2D 2021-02-03 21:52:49 +01:00
Wojtek Figat
ba0f07b57e Fix BlurPanel rendering
Fixes #192
2021-02-03 21:52:29 +01:00
Wojtek Figat
c02faf51a0 Merge branch 'AboutFlaxAdjustment' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-AboutFlaxAdjustment 2021-01-18 21:07:49 +01:00
W2.Wizard
8fd0af3f39 Fixed Typos and padding 2021-01-17 10:18:30 +01:00
W2.Wizard
4d8cc9aef7 Fixed additional typos
Went through the source with VNNCC to correct as many found typos as possible

Co-Authored-By: VNC <52937757+VNNCC@users.noreply.github.com>
2021-01-05 02:14:21 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00