Select Git revision
Post.cpp
Forked from
gmsh / gmsh
Source project has a limited visibility.
-
Christophe Geuzaine authored
Fixed horrible performance of vertex array creation on Windows for very large post-pro views (> 1 millon triangles). The bottleneck is the memory reallocation, which is 100 (?) times slower than on Linux/Mac. Introduced some simple heuristics to estimate how many primitives will be displayed. A prepro pass (like for smooth normals) would be a more elegant solution.
Christophe Geuzaine authoredFixed horrible performance of vertex array creation on Windows for very large post-pro views (> 1 millon triangles). The bottleneck is the memory reallocation, which is 100 (?) times slower than on Linux/Mac. Introduced some simple heuristics to estimate how many primitives will be displayed. A prepro pass (like for smooth normals) would be a more elegant solution.