与D2D1和显卡冲突 [英] Conflicts with D2D1 and graphics card

查看:81
本文介绍了与D2D1和显卡冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的VGA卡是 Radeon HD5600。

hr = m_pRenderTarget->CreateBitmapFromWicBitmap( pConverter, NULL, &m_pBitmap );

这个函数返回的速度很慢。

This function returns so slowly.

我在卸载图形驱动程序后尝试过。

I tried after uninstalling the graphic driver.

然后,该函数返回得那么快。

Then, that function returns so fast.

我该如何解决这个问题?

How can I solve the problem?

推荐答案

这是一个奇怪的问题,从什么你描述的声音就像你的显卡驱动程序的问题。如果您使用的是最新的显卡驱动程序,可能需要回滚到之前的驱动程序并重新测试。

That is a strange problem and from what you describe sounds like a problem with your graphics card driver. If you are using the latest drivers for your graphics card, it may be worth rolling back to an earlier driver and testing again.

有权访问您可以测试应用程序的其他硬件吗?

Do you have access to other hardware that you can test your application on?

尝试创建渲染目标,无需
硬件加速
并查看它是否有所作为。这只是一个故障排除步骤,而不是解决您的问题。

值得注意的是
此页面的位图部分

Try creating your render target without hardware acceleration and see if it makes a difference. This is just a troubleshooting step and not a solution to your problem.
It's worth noting what is documented in the bitmaps section of this page.

干杯

Eddie

Cheers
Eddie


这篇关于与D2D1和显卡冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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