Taking Screen shot in devices without x server
I am working on a Linux base Intel board. The kernel is built without frame-buffer and there is no /dev/fb0 file. The project i am working on is to take screen shot the display. The main UI application is a Qt based browser. and it uses OpenGL for rendering. My aim is to have two application, One the browser and another application. The browser displays UI in the screen(Which is already present) The second application should take screen shot of the browser application and save it as .png image. Is there any way to take the screen shot. The device doesn't have a X-server. Is there any API to reade directly from the display device / frame-buffer in Qt of another application? I have already tried the screenshot application it didn't work for me. Thanks in advance.