Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-11-12 20:16:18 +0300
committerJulian Eisel <julian@blender.org>2021-11-12 20:21:12 +0300
commit2b394e1108281bcfe6602b08b3e9cd230003d22b (patch)
treeccb467df96d312097229a13d44c0fdcc141f8ba7 /intern/cycles/device
parent896d3f1ce5ab20965855f85c097d66a26fa16793 (diff)
UI: (Performance) Avoid drawing buttons out of view
The UI was always drawing all buttons in a layout, no matter if they were scrolled out of view (as in, outside of the visible part of the region) or not. This means it's doing quite some work that can be avoided. UI drawing generally isn't a big bottleneck in Blender, so I don't expect huge speedups from this. But while playing back animation, we do redraw a fair bit of the UI, so in cases where there are many buttons out of view, it may bring a little FPS boost. E.g. say in complex node trees (the node editor is redrawn on animation playback in case there are animated values that need updated UI feedback). This also mitigates the issue in T92922 significantly. Differential Revision: https://developer.blender.org/T92922 Reviewed by: Brecht Van Lommel
Diffstat (limited to 'intern/cycles/device')
0 files changed, 0 insertions, 0 deletions