Jump to content
  • Advertisement
Sign in to follow this  
jdub

difference between adapter formats and backbuffer formats

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

what is the difference between a surface format for an adapter and one for a back buffer? I am finding that I cannot have ARGB formats for my adapter format yet they work just fine as a back buffer format. What's with this? I always thought that back buffer format and adapter format were the same thing. Was I wrong all along?

Share this post


Link to post
Share on other sites
Advertisement
This is how I understand it works:

The adapter format is used by the card to encode the pixel data for the monitor, and generally alpha bits are not supported here.

The backbuffer is a secondary buffer which you do all your drawing to. Alpha-bits are usually available, and you do your alpha-blending on this buffer.

When you present the buffer to the display, the card will convert between the formats if they are different. You can check if this is possible using IDirect3D9::CheckDeviceType() and CheckDeviceFormatConversion().

Hope this helps. Please let me know if I've made a mistake!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!