对于全屏Direct3d 9应用程序,Aero翻转/缩略图中没有显示缩略图 [英] No thumbnails showing in Aero flip/thumbnail for full screen direct3d 9 application

查看:88
本文介绍了对于全屏Direct3d 9应用程序,Aero翻转/缩略图中没有显示缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确定它在网络上的某个地方,但是我在搜索字词方面遇到了麻烦(得到了许多无关的东西。)无论如何,我有一个Direct3D9应用程序。当它在Vista和Windows 7上全屏运行时,当您按下Alt-Tab或Win-Tab时,我的应用程序只是在缩略图/预览/实时视图中显示为空白(不确定正确的术语)。 API或通知我可以响应在哪里可以在缩略图上绘制后缓冲区?

I'm sure this is on the web somewhere, but I'm having trouble with the search terms (getting lots of non-relevant stuff.) Anyway, I've got a Direct3D9 application. When it runs in full screen, on Vista and Windows 7, and you hit Alt-Tab or Win-Tab, my application just shows up blank in the thumbnail/preview/live view (not sure of the correct term.) Is there an API or notification I can respond to where I can draw my backbuffer to the thumbnail?

推荐答案

在运行全屏Direct3D应用程序时禁用窗口合成(缩略图是其中的一部分)。这通常是一件好事,因为它可以提高全屏应用程序的性能。默认情况下,此行为是合理的,因为大多数全屏应用程序(尤其是针对XP或更早版本开发的应用程序)在运行时期望成为用户的唯一关注点。如果需要,您可以在这种情况下手动实例化和更新缩略图,但是通常情况下,要选择全屏应用程序是不可行的。

When running a full-screen Direct3D application window compositing (of which the thumbnails are a part) is disabled. This is typically a good thing, since it can increase performance of the full-screen app. As a default this behavior is reasonable since most full-screen apps (especially those developed against XP or earlier) expect to be the sole focus of the user while the app is running. You can manually instantiate and update your thumbnail in this case if you wish, but alt-tabbing away from a full-screen app is usually and edge case.

有关更多信息有关合成的一般信息,包括缩略图API的概述,请查看此MSDN文章

For more information about compositing in general, including overviews of the thumbnail APIs, check out this MSDN article

这篇关于对于全屏Direct3d 9应用程序,Aero翻转/缩略图中没有显示缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆