T
Tomppa
WinCE 5.0 CF 2.0
When I draw a bitmap covering the entire screen it draws from top to bottom
at a rate of about .25 seconds
I am using double buffering but I get the same effect
private void frmMain_Paint(object sender, PaintEventArgs e)
{
try
{
e.Graphics.Clear(Color.Black);
e.Graphics.DrawImage(mBufferBitmap, 0, 0);
}
catch { }
}
protected override void OnPaintBackground(PaintEventArgs e)
{
//Do Nothing
}
Platform Builder debug window says I am running at the following resolution
5191 PID:6e3a912 TID:6f94e0e VGAMode: ModeID:65, ModeIndex:3, RateIndex=3
5191 PID:6e3a912 TID:6f94e0e VGAMode: X:1280, Y:1024 ,Bpp:32, Refresh
Rate:75
This is running on the following board at 166MHz
http://www.icop.com.tw/products_detail.asp?ProductID=119
Is it hardware related or is there something I can do to speed up the
drawing?
Thanks
When I draw a bitmap covering the entire screen it draws from top to bottom
at a rate of about .25 seconds
I am using double buffering but I get the same effect
private void frmMain_Paint(object sender, PaintEventArgs e)
{
try
{
e.Graphics.Clear(Color.Black);
e.Graphics.DrawImage(mBufferBitmap, 0, 0);
}
catch { }
}
protected override void OnPaintBackground(PaintEventArgs e)
{
//Do Nothing
}
Platform Builder debug window says I am running at the following resolution
5191 PID:6e3a912 TID:6f94e0e VGAMode: ModeID:65, ModeIndex:3, RateIndex=3
5191 PID:6e3a912 TID:6f94e0e VGAMode: X:1280, Y:1024 ,Bpp:32, Refresh
Rate:75
This is running on the following board at 166MHz
http://www.icop.com.tw/products_detail.asp?ProductID=119
Is it hardware related or is there something I can do to speed up the
drawing?
Thanks