1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00
ikrima 1b5879e176 ImGui Multiviewport fixes
- set ImGuiConfigFlags_ViewportsEnable
- correct render loop logic with viewport api calls, SetNextWindowViewport(), UpdatePlatformWindows(), RenderPlatformWindowsDefault()
- Fix: coords in abs space now, SetNextWindowPos()

NOTE:
- I have viewports turned on by default so you can easy test (comment out io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; and you get old behavior)
- Jankiness with multiviewports isn't bc perf hit; it's bc profiler reduces it's tick rate when it's not in focus. So, that bit of logic needs to be updated if you really care
- I haven't encountered any issues over past week but discount that by 50% since i'm new to tracy. No promises some UI wasn't regresssed
- Key things to watch out for is enabling viewports turns ImGui into using absolute monitor coords instead of window coords (ie SetPosition(0,0) => monitor top left, not window top/left
2020-05-04 02:17:15 -07:00
..
2019-07-25 12:58:16 +02:00
2019-11-07 23:52:12 +01:00
2019-11-07 23:52:12 +01:00
2019-11-07 23:52:12 +01:00
2020-02-12 19:53:37 +01:00
2020-04-14 02:22:48 +02:00
2020-05-03 20:49:21 +02:00
2020-02-12 19:24:30 +01:00
2020-02-12 19:24:30 +01:00
2020-02-13 19:22:08 +01:00
2020-02-02 02:36:28 +01:00
2020-02-23 19:43:00 +01:00
2020-04-02 02:00:21 +02:00
2020-05-04 02:17:15 -07:00
2020-05-03 14:33:47 +02:00
2020-04-30 19:05:13 +02:00
2020-04-30 19:05:13 +02:00