aboutsummaryrefslogtreecommitdiffstats
path: root/gui/lineshader.h
Commit message (Collapse)AuthorAgeFilesLines
* Reduce GL shader version for wider compatibility.Adrian Jeakins2018-12-201-2/+2
|
* Fix device view not showing anything on macOS.Adrian Jeakins2018-12-051-6/+7
| | | | | * Fix line shader when running under the core profile and make version match those elsewhere. * Make surface format version match the openGL functions we are using.
* clangformatDavid Shah2018-11-161-8/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* 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