Files
test/source/blender/editors/include
Clément Foucault f6ad538040 UI: Perf: widgetbase: Replace imm usage by a batch cache.
Introduce a UI batch cache. For the moment it's only used by widgetbase so
leaving it interface_widgets.c. If it grows, it can have its own file.

Like all preset batches (batches used by UI context), vaos must be refreshed
each time a new window context is binded.

This still does 3 GWN_batch_draw in the worst cases but at least it does
not use the IMM api.

I will continue and batch the 3 calls together since we are really CPU
bound, so shader complexity does not really matters.

I cannot spot any difference on all the widgets I could test. I did not use
any unit tests so I cannot tell if there is really any defects.

This is not a complete rewrite but it adresses the top bottleneck found
after a profilling session.
2018-03-29 14:22:50 +02:00
..
2017-05-04 20:50:03 +10:00
2014-07-21 12:02:05 +02:00
2017-06-19 20:18:04 +10:00
2015-11-18 12:22:00 +11:00
2017-04-21 17:14:13 +10:00
2018-03-02 13:09:32 -03:00
2017-11-09 15:45:19 -02:00
2018-01-23 12:01:21 -02:00