Im new with linux programming and work on a project that uses openvg to display text a screen.
The main question with openvg I have is how to update the screen.
The program runs in a loop, gets data and should display the data on a screen.
I just use the following sequence to update the screen:
Background(255,255, 0); /* yellow */
Fill(0,0,0,1); /* black */
Text(ixPosDate,iyPosDate, ScreenData.DateTime, SerifTypeface, width *10/240);
DoMainScreen() will be called in a loop.
Is there any other way to update data without open/close the screen?
I reached many projects without any success.
The problem is that I loose memory and possibly it has to do with it.
Please be gentle with me.... I`m a linux beginner.