Can anybody pass me information how can I use standard SVGA functions under QNX6.3 without Photon, please?
We have to port an application from Linux which draws lines and boxes on screen - plus bmp/jpg/tga pictures on background.
When the application stops it is return to normal text mode.
The SVGAlib available for Linux:
www.svgalib.org
svgalib.org/jay/beginners_gu … guide.html
Here is a small sample code:
#include <stdlib.h>
#include <vga.h>
int main(void)
{
vga_init();
vga_setmode(G320x200x256);
vga_setcolor(4);
vga_drawpixel(10, 10);
sleep(5);
vga_setmode(TEXT);
return EXIT_SUCCESS;
}
Please inform me if there are any solution to use these or any other compatible functions, WITHOUT Photon.
Thanks.