aboutsummaryrefslogtreecommitdiffstats
path: root/gui/lineshader.h
Commit message (Collapse)AuthorAgeFilesLines
* gui: improved FPGAViewWidget::paintGL() performanceMateusz Zalega2018-10-231-17/+15
| | | | | | | | | Profiling revealed that memcpy() in QOpenGLBuffer::allocate() had been taking the most time during paintGL() calls. I've been able to take the CPU usage down to about 1/4 of its previous values by caching elements in VBOs and updating them only after subsequent calls to renderGraphicElement(). Signed-off-by: Mateusz Zalega <mateusz@appliedsourcery.com>
* gui: include linshader.{cc,h}Sergiusz Bazanski2018-07-261-0/+209