Scott Romero
e9379c1746
[development] updated editor event handling with respect to imgui ( #6114 )
...
Fixes #4366
- Added support for sending text events from the Qt event mapper
- Fixed several issues found while running the Profiler gem in debug
- Added ability to track AZ-consumed events in the Qt event mapper
- Minor clean up to input handling in ImGuiManager
- Select ImGui mouse events can now be properly consumed during AZ-input processing in the editor viewport
- Added tests for the Qt event mapper
Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
2021-12-09 13:58:27 -08:00
Esteban Papp
0b9497cd45
Changes call from AZ_TRACE to AZ_PROFILE. AZ_TRACE uses a driller bus that is going to be removed
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-02 17:12:25 -08:00
Scott Romero
12efc84632
[development] minor Profiler gem fixes ( #5473 )
...
Fixed incorrect frame boundary guess when loading a profile capture
Added some missing default initializers
Removed implicit dependency on Atom timing marker constants
Fixed issue with small visualizer viewport bounds when loading a saved capture
Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
2021-11-30 08:27:27 -08:00
amzn-sean
38a03817bb
Removal and Replacement of the CryTimer (gEnv->pTimer) ( #5409 )
...
Replaced and removed the CryTimer (gEnv->pTimer). The new TimeSystem is a merger of the current time functionality found in the engine.
* Rename TimeSystemComponent.h/.cpp to TimeSystem.h/.cpp
* Adding New TimeSystem
* remove old timer cvars
* small improvements to the time system.
- updated parts to use the time conversion functions.
- in AdvanceTickDeltaTimes applying t_simulationTickScale is now uses doubles instead of floats.
* Replace gEnv->pTimer / ITimer usages with TimeSystem
* Updating usages of AZ::TimeMs{ 0 } and AZ::TimeUs{ 0 } to AZ::Time::ZeroTimeMs and AZ::Time::ZeroTimeUs
* red code the CryTimer
* using TimeUs instead of TimeMs is some cases + updating usages of old cvars to new
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com >
2021-11-15 12:11:58 +00:00
Tom Hulton-Harrop
5047ba7f7b
merge stabilization/2110 to development - 2021/11/09
...
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
2021-11-09 09:19:54 +00:00
hershey5045
18847fb3cc
Improve handling of cached data limits. ( #5232 )
...
* Remove size limit on cached profile regions.
Signed-off-by: rbarrand <43485729+hershey5045@users.noreply.github.com >
* Discard excess profiling data once limit has been reached. Warn users only the first time the limit is reached.
Signed-off-by: rbarrand <43485729+hershey5045@users.noreply.github.com >
* Fix bug that was clearing cached time regions instead of the cached time regions map.
Signed-off-by: rbarrand <43485729+hershey5045@users.noreply.github.com >
2021-11-08 11:09:07 -08:00
AMZN-ScottR
4721f44b92
[profiler_capture_api] more changes based on PR feedback
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-29 17:19:38 -07:00
AMZN-ScottR
90509c7fa2
[profiler_capture_api] removed now unnecessary ProfilerRequests EBus alias after AZ::Interface conversion
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-28 14:18:04 -07:00
AMZN-ScottR
a2c42ab072
[profiler_capture_api] started migration of ProfilerRequests EBus to AZ::Interface
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-26 15:15:52 -07:00
AMZN-ScottR
57a69978b9
[profiler_capture_api] replace profiler capture location cvar with setting registry entry
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-26 12:15:30 -07:00
AMZN-ScottR
e38a44f061
[profiler_capture_api] minor memory usage rework pointed out in PR feedback
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-25 18:18:12 -07:00
AMZN-ScottR
c6d3e7900c
[profiler_capture_api] updated ProfilerRequests::StartCapture signature as per PR feedback
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-25 15:51:12 -07:00
AMZN-ScottR
471436b0fc
[profiler_capture_api] added cvar/console access for profiler capture
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-25 11:51:36 -07:00
AMZN-ScottR
1f2eaface9
[profiler_capture_api] merging overlapping profiler EBuses into AzCore
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-25 11:51:32 -07:00
Scott Romero
e008ba8579
[development] Fixed Profiler ImGui module name when building monolithic ( #4848 )
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-21 10:22:24 -07:00
AMZN-ScottR
55bc403cd8
[atom_cpu_profiler_gem_promotion] added missing configuration entries pointed out in PR
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-19 12:15:28 -07:00
AMZN-ScottR
02754ccbd0
[atom_cpu_profiler_gem_promotion] more quick small changes based on PR feedback
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-19 10:44:14 -07:00
AMZN-ScottR
55bca4658f
[atom_cpu_profiler_gem_promotion] quick small changes based on PR feedback
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-18 17:54:08 -07:00
AMZN-ScottR
fa4e91b05c
[atom_cpu_profiler_gem_promotion] added optional AZ::Interface usage to ProfilerImGuiRequests
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-18 10:51:15 -07:00
AMZN-ScottR
6480bc8b86
[atom_cpu_profiler_gem_promotion] additional APIs for external control of the CPU profiler and visualization
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:24:41 -07:00
AMZN-ScottR
63e68f224b
[atom_cpu_profiler_gem_promotion] updated CPU frame data capture EBus calls and minor clean up in profiler ImGui window
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:24:41 -07:00
AMZN-ScottR
b89e437a6b
[atom_cpu_profiler_gem_promotion] migrated CPU frame data capture API and implementation from Atom over to Profiler gem
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:24:41 -07:00
AMZN-ScottR
b6764a3b27
[atom_cpu_profiler_gem_promotion] set up visualization module to work in the editor as well
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:24:21 -07:00
AMZN-ScottR
805cd96c28
[atom_cpu_profiler_gem_promotion] created profiler ImGui variant module and hooked up data/viz to their respective modules
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:24:21 -07:00
AMZN-ScottR
ead3a4b9ae
[atom_cpu_profiler_gem_promotion] included moved files in compilation and fixed compiler errors
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:22:26 -07:00
AMZN-ScottR
d193dc40a9
[atom_cpu_profiler_gem_promotion] updated namespaces for moved files
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:22:26 -07:00
AMZN-ScottR
6946145b23
[atom_cpu_profiler_gem_promotion] moved CPU profiler files from Atom into new Profiler gem
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:22:26 -07:00
AMZN-ScottR
fbc7f5d943
[atom_cpu_profiler_gem_promotion] initial Profiler gem add
...
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com >
2021-10-15 19:22:26 -07:00