When should WS_EX_NOREDIRECTIONBITMAP be used?

后端 未结 2 542
遇见更好的自我
遇见更好的自我 2020-12-16 15:44

MSDN says (Extended Window Styles):

WS_EX_NOREDIRECTIONBITMAP: The window does not render to a redirection surface. This is for windows t

2条回答
  •  爱一瞬间的悲伤
    2020-12-16 16:09

    DirectComposition is the main api that you can use to draw a window with no redirection bitmap. DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL on swapchains without DirectComposition might also trigger this mode.

    One thing to worry about when using the api is that there won't necessarily be an opaque window background, so dwm can do a lot of extra work blending with things behind the window that aren't actually not visible

提交回复
热议问题