Home > 未分类 > Why we prefer Full-Screen Mode :from dx10 sdk doc

Why we prefer Full-Screen Mode :from dx10 sdk doc

Full-Screen Performance Tip

When calling Present on a full-screen application, the swap chain flips (as opposed to blits (查无此词,大约是bitblt通假字)) the contents of the back buffer to the front buffer. This requires that the swap chain was created using an enumerated display mode (specified in DXGI_SWAP_CHAIN_DESC). If you fail to enumerate display modes, or incorrectly specify the display mode in the description, the swap chain may perform a blit instead. The blit causes an extra stretching copy as well as some increased video memory usage, and is difficult to detect. To avoid this problem, enumerate display modes, and initialize the swap chain description correctly before creating the swap chain. This will ensure maximum performance when flipping in full-screen mode and avoid the extra memory overhead.

Advertisements
Categories: 未分类
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: