Jump to content
  • Advertisement

Archived

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

xdinos

BLT Times

This topic is 6756 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well i have this problem in DirectDraw... I have a big surface (1024x768) in videomemory (vm) i also have small surfaces (128x64) in vm when i blt (lpDDS->Blt) the small to the large one and i get 50ms when i put all the surfaces in system-memory and use my ASMBLT (per byte check for color key) function i get 30ms Why this is happening? I know that SYS->VID and VID->SYS is slow but i also know VID->VID is fast but i didn''t know that SYS->SYS is the best! I have TNT AGP Video Card and 350Mhz CPU with 100Mhz DIMMs Can anyone help me with this. Tankns in advance..

Share this post


Link to post
Share on other sites
Advertisement
Well, I''m not certain if this is your problem, but here''s my guess...

Sometimes it''s faster to do your operations in system memory when you are using DirectDraw if the hardware doesn''t support what you are doing. The reason for this is that the HEL will have to retrieve data to and from video memory which, as you know, is slow.

Try to verify that there is hardware support for all the flags you are using to be certain that everything is really just happening in video RAM.

Share this post


Link to post
Share on other sites
To I-Shaolin

I only use Source Color Keying nothing else.
You mean if this is supported in my HW?
Thanks anyway.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!