With Raspberry Pi2, we are using QT with eglfs support from this repository: https://github.com/pbouda/buildroot-qt-dev
I am trying to take a screenshot of the current window. I followed different instructions such as:
However result from first link is not good:
Second link also fails, with a full black image. Any suggestions is appreciated.
If you want to try yourself, here is the fresh /dev/fb0 data. Please note that resolution is 720x1280: