df16f4931e00be72b4fe1d3477f394a8d59af87e
Sequencer timeline UI repainting is 3x-4x faster now, for complex timelines. On Sprite Fright Edit data set, with whole timeline visible (2702 strips), repainting the timeline UI with all overlay options (waveforms, offsets, thumbnails etc.): - Windows (Ryzen 5950X, RTX 3080Ti, OpenGL): 62ms -> 18.6ms (16FPS -> 54FPS) - Mac (M1 Max, Metal): 39.8ms -> 11.5ms (25FPS -> 86FPS) This is achieved by: - Avoiding tiny GPU draw calls (i.e. drawing one quad a time), instead batch all the quads / lines needed by the timeline display into series of about-1000 quads per draw. - For retiming keys display, batch their keyframe point drawing too. - For audio waveform overlay display, change it to draw batched quads instead of alternating between line strips and triangle strips. This actually changes how the waveform looks like (implements #115274) and fixes some visual issues with waveforms too. - For fcurve overlays, also draw them as batched quads. While at it, this also fixes an issue where while dragging strips over other strips, their text labels would look as if they are behind the background strips. Pull Request: https://projects.blender.org/blender/blender/pulls/115311
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
