Jump to content
  • Advertisement

Archived

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

GEo

Bltfast 2 Primary

This topic is 6818 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

Hiya, I wrote this program that does some ASM pixel by pixel processing on a surface in system memory, which is nice and fast and all, but then I have to get this surface onto the primary. To do this I used BltFast, and it''s really slow, any hints on how I can speed this process up. I tried Blting to a backbuffer, and then flipping, but its no faster. Any help you can give would really be appreciated. George. "Who says computer games affect kids, imagine if PacMan affected us as kids, we'd all sit around in a darkened room munching pills and listening to repetitive music....uh oh!"

Share this post


Link to post
Share on other sites
Advertisement
The only time you want to use the directDraw blit routines is when you blit from vidmem to vidmem. In all the other cases you want to use your own blit routines.

Personally I use the hermes library (www.gaffer.org if I''m correct) cause I don''t want to write my own blitters (waste of time) since hermes is the fastest, free and portable.

Jaap Suter

____________________________
Mmmm, I''ll have to think of one.

Share this post


Link to post
Share on other sites
ta,

I''ll go check that out.

George.

"Who says computer games affect kids, imagine if PacMan affected us as kids, we'd all sit around in a darkened room munching pills and listening to repetitive music....uh oh!"

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!