mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
b8ddaf9c33
EngineDebugger is the new interface to access the debugger. It tries to be as agnostic as possible on the data that various subsystems can expose. It allows 2 types of interactions: - Profilers: A subsystem can register a profiler, assigning it a unique name. That name can be used to activate the profiler or add data to it. The registered profiler can be composed of up to 3 functions: - Toggle: called when the profiler is activated/deactivated. - Add: called whenever data is added to the debugger (via `EngineDebugger::profiler_add_frame_data`) - Tick: called every frame (during idle), receives frame times. - Captures: (Only relevant in remote debugger for now) A subsystem can register a capture, assigning it a unique name. When receiving a message, the remote debugger will check if it starts with `[prefix]:` and call the associated capture with name `prefix`. Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new profiler system. Port SceneDebugger and RemoteDebugger to the new capture system. The LocalDebugger also uses the new profiler system for scripts profiling. |
||
---|---|---|
.. | ||
area_2d_sw.cpp | ||
area_2d_sw.h | ||
area_pair_2d_sw.cpp | ||
area_pair_2d_sw.h | ||
body_2d_sw.cpp | ||
body_2d_sw.h | ||
body_pair_2d_sw.cpp | ||
body_pair_2d_sw.h | ||
broad_phase_2d_basic.cpp | ||
broad_phase_2d_basic.h | ||
broad_phase_2d_hash_grid.cpp | ||
broad_phase_2d_hash_grid.h | ||
broad_phase_2d_sw.cpp | ||
broad_phase_2d_sw.h | ||
collision_object_2d_sw.cpp | ||
collision_object_2d_sw.h | ||
collision_solver_2d_sat.cpp | ||
collision_solver_2d_sat.h | ||
collision_solver_2d_sw.cpp | ||
collision_solver_2d_sw.h | ||
constraint_2d_sw.h | ||
joints_2d_sw.cpp | ||
joints_2d_sw.h | ||
physics_2d_server_sw.cpp | ||
physics_2d_server_sw.h | ||
physics_2d_server_wrap_mt.cpp | ||
physics_2d_server_wrap_mt.h | ||
SCsub | ||
shape_2d_sw.cpp | ||
shape_2d_sw.h | ||
space_2d_sw.cpp | ||
space_2d_sw.h | ||
step_2d_sw.cpp | ||
step_2d_sw.h |