• Advertisement

Archived

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

Direct Draw surface buffer alignment.

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

I am basically wondering if there is a way to tell ddraw to align newly created secondary surfaces to 8/16 or 32-byte boundries. I couldn''t find any caps that would do this so I''m hoping there is another way. I''m coding MMX operations on the back buffer and if I can align the back buffer to an 8-byte boundry, memory access should become about 20-40% more efficent (according to these Intel docs). Thanks Fredo ~-------------------------------------------------------~ Fred Di Sano System Programmer - Artech Studios (Ottawa.CA) ~-------------------------------------------------------~

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement