Blender Git Commit Log
Git Commits -> Revision 6b8555e
Revision 6b8555e by Julian Eisel (master) May 24, 2020, 15:26 (GMT) |
VR: Fix big performance bottleneck for simple scenes Blender's main loop puts the main thread to sleep for 5ms if no user input was received from the OS. We never want that to happen while the VR session is running, which runs on the main thread too. For simpler scenes, where the viewport already draws fast, this may have quite some impact. E.g. in my tests, the classroom scene went from ~55 to quite stable 90 FPS in solid mode (total render time as measured and averaged by Windows Mixed Reality utilities). With Eevee, it only went from 41 to 47 FPS. In complex files, there's barely a difference. E.g. less than 1 FPS increase in a Spring file (both Solid mode and Eevee). |
Commit Details:
Full Hash: 6b8555e01cb127479286f603e3f0b772bd1f416e
Parent Commit: 8e4c742
Lines Changed: +6, -1
1 Modified Path:
/source/blender/windowmanager/xr/intern/wm_xr.c (+6, -1) (Diff)