GtkGLArea drawing issues during resize
Hello
I have:
- AMD A10-6800K APU with Radeon(tm) HD Graphics,
- Fedora release 28 x86_64 (updated) Linux 4.17.18-200.fc28.x86_64
- gtk3-3.22.30-1.fc28.x86_64
- current WM: Xfce
- glxinfo:
client glx version string: 1.4
GLX version: 1.4
Version: 18.0.5
Max core profile version: 4.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.3 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 4.30
OpenGL version string: 3.0 Mesa 18.0.5
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
The problem is folowing: when I resize GtkGLArea application demo window from gtk3-demo with mouse, the displayed triangle is drawing with flickering, wrong aspect ratio, and some other artifacts.
Steps to reproduce
- run `gtk3-demo --run=glarea'
- resize 'OpenGL Area' application window with mouse
- note drawing issues
I have ported simple application to GTK from learnopengl.com using gtk3-demo sources, it has same issues. The original glut and glfw application draws perfectly. I can provide the ported app as you wish.
Edited by Sergey Stepanov