Hi
I've just signed up to the mail list. I am thinking to use GGI lib to my
next project.
I found some strange in sync mode or in async with flush calling(Linux
Intel). I wrote some function Run using clock function to measure func
speed. Function "func" calls CrossBlit with Flush(async mode)or without
Flush(sync mode).
void CheckSpeed::Run(void(*func)())
{
time_t clk=clock();
while(clk==clock());
clk=clock();
times=0;
for(;CLOCKS_PER_SEC*10>clock()-clk;times+=10)
for(int i=0; i<10; i++) func();
clk=clock()-clk;
sec=float(clk)/CLOCKS_PER_SEC;
tps=times/sec;
tested=1;
}
Under X target I was staying inside of RUN 20-30 sec. Why? Under Svga target
everything is Ok. I've got 10 sec.
Best regards. Dmitry Semenov