Blender Git Commit Log

Git Commits -> Revision cf5750a

Revision cf5750a by Mike Erwin (master)
October 15, 2016, 18:41 (GMT)
Gawain: improve immediate mode performance

This was already fast on Apple, but @Severin and @dfelinto noticed slowdowns in user prefs, which is text heavy.

The problem was immBeginAtMost not being smart about VBO write flushing. immBeginAtMost can use all of its allocated range or only a subrange. The previous code was forcing back-to-back draw calls and buffer writes to serialize. This commit lets OpenGL know that our VBO writes never overlap, so there's no need to wait.

Should be much faster now!

Commit Details:

Full Hash: cf5750a85e68928f19ec17376adadc6dee1f5103
Parent Commit: 5e428b3
Lines Changed: +22, -7

1 Modified Path:

/source/blender/gpu/gawain/immediate.c (+22, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021