I have a previous article on the QT5.5 when the rotation of Eglfs, this is a sister article, the introduction if the Eglfs under the white border.
The first thing I think of is the use of Qt stylesheet, experimented with again, padding attribute is obviously not, the margin property is not, the border property is not. And then Qt::framelesswindowhint. Unfortunately, you can't change that nasty white border.
Then think of is the previous eglfs, that can be rotated, is it possible to move a bit. Checked the qmatrix4x4, actually did not translate. After 1.8724357689 seconds of hesitation, suddenly remembered to pan is not to change the coordinates on it.
Before you changed this code:
qmatrix4x4 target = Qopengltextureblitter::targettransform (Textures->geometry (i), targetwindowrect);
I tried to change a little bit targetwindowrect.
Const Qrect Targetwindowrect (qpoint ( -50, 0), M_targetwindow->geometry (). Size ());
Haha, success, like my normal IQ of the person once found the law, decisively changed to
Const Qrect Targetwindowrect (Qpoint (), M_targetwindow->geometry (). Size ());
Problem solving.