diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 12:29:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 12:30:05 +0300 |
commit | e89d42ddffef8892a8eb52d29e2a7329ad381204 (patch) | |
tree | 9997122e126d8da1b41e37ec414b340aa7dfba91 /source/blender/draw/intern/draw_manager_profiling.h | |
parent | a46ff1dd38a2d23a1c0ac05cad3155398fc19e92 (diff) |
Cleanup: move public doc-strings into headers for 'draw'
Ref T92709
Diffstat (limited to 'source/blender/draw/intern/draw_manager_profiling.h')
-rw-r--r-- | source/blender/draw/intern/draw_manager_profiling.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager_profiling.h b/source/blender/draw/intern/draw_manager_profiling.h index 3842bdffaff..e7c84491bdb 100644 --- a/source/blender/draw/intern/draw_manager_profiling.h +++ b/source/blender/draw/intern/draw_manager_profiling.h @@ -28,9 +28,16 @@ void DRW_stats_free(void); void DRW_stats_begin(void); void DRW_stats_reset(void); +/** + * Use this to group the queries. It does NOT keep track + * of the time, it only sum what the queries inside it. + */ void DRW_stats_group_start(const char *name); void DRW_stats_group_end(void); +/** + * \note Only call this when no sub timer will be called. + */ void DRW_stats_query_start(const char *name); void DRW_stats_query_end(void); |