Archived

This topic is now archived and is closed to further replies.

CondorWitte

HELP!!! ---> BitBlt() size limit ???

Recommended Posts

Hello all! When blitting content to a DirectDraw offscreen-buffer for animation, I discovered the following limit: On some graphics cards (in this case the Diamond Stealth III S540 PCI), it seems like the maximum number of lines a BitBlt() supports is 4096. On other machines there is no problem BitBlt()-ing bitmaps with more than 4096 lines to a DD-surface. I cannot find any info on it in the MS-documentation, nor on any web page converning the Savage Pro+ 4 gfx chipset from S3. If anyone can help me find some info regarding this subject, I will be ever-thankful. Greetings, CondorWitte

Share this post


Link to post
Share on other sites
Some cards do not support surfaces wider than the current view mode, you should get caps and then check for wide surfaces support and break up surfaces as necessary.

------------------------------
#pragma twice


sharewaregames.20m.com

Share this post


Link to post
Share on other sites
offscreen surfaces are defaultly created in video memory where bltting functions are hardware dependant.

creating your surfaces in system memory will work for any size ranging to the size of the mem available or the size of a dword.

Share this post


Link to post
Share on other sites