Commit Graph

66 Commits

Author SHA1 Message Date
Chandler Cox
2260236fa6 Fix CPU profiler crash on conversion to ulong. 2025-01-09 20:55:30 -06:00
Wojtek Figat
128321c655 Fix network profiler to properly calculate network usage statistics per second
#2815
2024-09-23 20:15:50 +02:00
Wojtek Figat
650a2921a3 Add improved FormatBytesCount to print large sizes in more detailed way
Instead of printing `2 GB` output `2.43 GB` to be more explicit.
Deprecate version with `int` in favor of a single `ulong`.
2024-08-17 14:35:13 +02:00
Wojtek Figat
7650cead3d Disable tooltip on profiler recording button to not affect perf due to tooltip showing 2024-08-17 00:10:53 +02:00
Wojtek Figat
ed9aaba055 Fix profiler window tabs layout for charts 2024-08-17 00:10:03 +02:00
Chandler Cox
224c2c049e Fix the profiler charts in place and only scroll profiler info. 2024-06-18 19:25:12 -05:00
Wojtek Figat
3b1a96582a Fix crash in gpu memory profiler if resource name is missing
#2688
2024-06-05 17:14:44 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
8441726da7 Improve support for fixed-arrays in api fields 2024-02-07 18:43:48 +01:00
Wojtek Figat
7f4d2d8db6 Fix GPU profiler event percentage calculation and add tint highlight to spot slow entries 2024-01-05 12:53:48 +01:00
4b6ada7289 Fix profiling hotkeys not working while profiler window is closed 2023-12-31 13:10:55 +02:00
Wojtek Figat
55066cd738 Add red tint highlight for CPU profiler table entries based on event duration 2023-12-26 13:12:51 +01:00
Wojtek Figat
618273977c Minor improvements to code style #1541 2023-11-13 17:17:05 +01:00
Wojtek Figat
13881c7d97 Merge branch 'LightThemeTweaks' of https://github.com/Radiangames/FlaxEngine into Radiangames-LightThemeTweaks 2023-11-13 17:02:12 +01:00
Wojtek Figat
88f718709b Add data sent/receive rate charts to the network profiler in Editor 2023-10-15 20:13:34 +02:00
Wojtek Figat
3ac7c4e0ee Codestyle fix 2023-10-09 23:21:02 +02:00
Wojtek Figat
dd66ee3521 Add using text Show in Finder on macOS in Editor 2023-10-02 13:26:26 +02:00
Wojtek Figat
481bbd3a77 Merge branch 'editor_bindings' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_bindings 2023-09-28 20:17:35 +02:00
Luke Schneider
ad28a3fdbf Better light theme (Style) support, and a Default light theme (as a secondary option)
1) Added ForegroundViewport as a new color.  It is used in the main game viewport (ViewportWidgetButton), and the viewport for rendering of particles and materials.  It is needed because the default foreground in a Light theme is black, but black does not work well in a viewport.  A new color seemed appropriate.

2) Fixed the profiler window to use the Foreground color in multiple text elements, instead of Color.White (or no default TitleColor).  This includes  the Row class, Asset class, SingleChart class, Timeline Class, and more.

3) Added a second theme/Style (DefaultLight) to include with the engine.  It uses RGB float values because those were easier to transfer from the saved values that I had created (and they're easier for me to edit if necessary).  I tried to emulate how the Default theme is created/loaded/etc as closely as possible.
2023-09-27 21:54:34 -05:00
Wojtek Figat
6621e70ae7 Add objects replication and RPC stats table to Network Profiler 2023-09-26 10:33:12 +02:00
Wojtek Figat
da47088250 Add conditional profiling in Editor (run only when using Profiler window) 2023-09-25 18:34:07 +02:00
Wojtek Figat
216a5e9f92 Add support for displaying all active Network Peer stats in Editor Profiler tab 2023-09-25 16:49:18 +02:00
385c3541c9 Apply global editor bindings in most windows 2023-09-23 15:23:09 +03:00
a1cbaba743 Add Editor input bindings for Profiler window and Profiler actions 2023-09-23 15:23:09 +03:00
Wojtek Figat
694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
Wojtek Figat
2ae20c5fc4 Add formatting to network profiler bytes values 2023-05-21 22:36:14 +02:00
Wojtek Figat
fe4e8f3dd2 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-10 12:13:45 +02:00
Wojtek Figat
3bff65d6b6 Minor fix 2023-05-10 10:03:13 +02:00
c1fa9e595c Sort profiler window assets when the view is active 2023-05-08 23:27:02 +03:00
Wojtek Figat
80e6853f44 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/Dedicated/UIControlEditor.cs
2023-05-08 22:22:32 +02:00
Wojtek Figat
ec6e459aa7 Fix CPU profiler events extraction when buffer is full 2023-05-08 17:05:40 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
Chandler Cox
acecda482d Changes the play icon to a stop icon and vice versa when clicked for the profiler. 2023-04-14 15:29:02 -05:00
Wojtek Figat
34629d46f3 Add **Physics Statistics and profiler** 2023-03-13 12:31:51 +01:00
Wojciech Figat
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
a6050e6f27 Add managed memory allocations profiling with dotnet7 2023-01-06 09:18:11 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +01:00
Wiktor Kocielski
163abb107c GPUResource Name property glu e generation fix
This fixes the issue when compiling the editor in the `Release`
2022-12-28 16:23:54 +03:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
Wojciech Figat
ed700cb070 Add **Assets profiler** to Editor 2022-12-09 15:46:01 +01:00
Wojciech Figat
e5742772ae Add more features to GPU Memory profiler tab 2022-12-09 11:28:53 +01:00
Wojciech Figat
9c2104391b Add profile events to editor profiler window 2022-12-08 16:30:51 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojciech Figat
3017010ef4 Minor adjustments to the profiling tools code 2022-12-07 15:27:40 +01:00
Wojciech Figat
7486bc640f Add network profiler tab with network driver data sent/received 2022-11-30 22:05:58 +01:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojciech Figat
bfec5d6a8d Improve displaying tris/vert count in GPU profiler if value is large 2022-07-27 16:24:49 +02:00
Wojtek Figat
89688f93e1 Add GPU Dispatch calls in GPU profiler draw calls collumn 2022-07-13 21:45:43 +02:00