This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Why is stretchblt so slow on x50v?


Why is stretchblt so slow on x50v?

Postby bitbank » Dec 14, 2004 @ 7:38pm

I thought that the X50v had hardware assisted bitblt/stretchblt. I am getting about 130-150fps for a 224x228 bitblt, but when I try to use stretchblt it drops to 5fps for a 448x456 (2x scale) blt. Is there something I'm missing?

Thanks,
Larry B.
bitbank
pm Member
 
Posts: 12
Joined: Dec 8, 2004 @ 4:13am
Location: South Florida


Postby Kzinti » Dec 14, 2004 @ 7:39pm

I guest it doesn't use hardware acceleration for the stretchblit? Try with a DDB, it properly will make a difference. But then you can't access the pixels...

Perhaps doing DIB-->DDB-->StretchBlt would be faster.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby bitbank » Dec 14, 2004 @ 7:50pm

I'm blitting an 8-bit bitmap with an identity palette (direct color mapping). On my Toshiba e805 stretchblt goes at full frame rate, but the X50v is so slow you can see the screen painting like a "flow" from top to bottom.

L.B.
bitbank
pm Member
 
Posts: 12
Joined: Dec 8, 2004 @ 4:13am
Location: South Florida


Postby Kzinti » Dec 14, 2004 @ 7:56pm

Have you tried a 16 bpp bitmap? I have the feeling 8-bit palettized stechblits wasn't a priority.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby bitbank » Dec 14, 2004 @ 8:35pm

bitbank
pm Member
 
Posts: 12
Joined: Dec 8, 2004 @ 4:13am
Location: South Florida


Postby hm » Dec 14, 2004 @ 10:51pm

User avatar
hm
pm Member
 
Posts: 201
Joined: Dec 28, 2003 @ 8:47pm
Location: Seattle, WA


Postby Kzinti » Dec 15, 2004 @ 12:52am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum