kicad/3d-viewer/common_ogl
Seth Hillbrand f6bd6b1360 3d: Replace glFinish with glFlush
glFinish is meant to ensure every aspect of the screen is fully-drawn
before continuing.  This causes issues with certain chipsets (Intel
4-8k)

glFlush is more of a suggestion that CPU work is complete and the GPU
should complete its work in a "timely" fashion.

We add an additional glFinish call before getting a screenshot as this
will copy the actual data from the card buffer.

Fixes: lp:1775976
* https://bugs.launchpad.net/kicad/+bug/1775976
2018-06-13 15:32:18 -07:00
..
cogl_att_list.cpp 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
cogl_att_list.h 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
ogl_utils.cpp 3d: Replace glFinish with glFlush 2018-06-13 15:32:18 -07:00
ogl_utils.h 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
openGL_includes.h 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00