is DirectGraphics slower?
Hi,
I am using Series_60_MIDP_SDK_for_SYMBIAN_OS_v_1_0
I tried to scroll a large Image both with DirectGraphics and Graphics. And I think Graphics is really faster.
public void paint(Graphics g)
{
x++;
if (x == this.getWidth()) x = 0;
if (dg==null) dg=DirectUtils.getDirectGraphics(g);
if (c)
dg.drawImage(myImage,-1*x,0,20,0);
else
g.drawImage(myImage,-1*x,0,20);
}
any idea or experince, why native call is slower than to MIDP implementation?
or am I doing something wrong?
thank you