PDA

Click to See Complete Forum and Search --> : Faster Graphics


Dale Peach
Jul 15th, 2001, 11:30 PM
Does anyone know what is faster:

stretchblt or bitblt ?

When actually streatching or manipulating items in streatchblt, it is slower, but if its a straight blit, is one faster than the other?

Thanks!


-Dale

progeix
Jul 16th, 2001, 04:03 AM
I'm not positive.. but yes, i tried this.. it seemed a LOT slower, even tho you are not resizing anything..

I suggest, if you need to stretch items.. put some pictureboxes and what not on the form, and STRETCH them one time on start up.. then just BLT them where you need

Fox
Jul 16th, 2001, 07:51 AM
Use hardware-accelerated D3D and put the picture on 2 polygons that shape a rectangle, you'll be able to stretch and shrink it as you wish without losing speed :D

progeix
Jul 16th, 2001, 08:07 AM
Then again he'll have a bigger exe , and such..

I think he's fine just stretching it on run time =/
no need to learn new things, and Lessen the support for older platforms now is there =)
but yes, that is an alternative =)