高性能像素绘图win32 [英] High performance pixel drawing win32

查看:116
本文介绍了高性能像素绘图win32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我们有一个使用DirectDraw的应用程序,可以将很多像素直接直接绘制到视频内存中.
由于不再有MS对DirectDraw的支持,因此我们希望刷新此代码.

有谁建议什么是最好的替代品? Direct2D? Dierct3D? DIB?
我们在使用本机代码...
谢谢大家!

Hello,
We had an application that used DirectDraw for drawing many pixels directly to the video memory at a high rate.
As there is no more MS support for DirectDraw, we want to refresh this code.

Does anyone any suggestion what is the best replacement? Direct2D? Dierct3D? DIB?
We are in native code...
Thanks to you all!

推荐答案

Direct2D和Direct3D如何相互替代? (是的,我建议您使用Direct2D和/或Direct3D.)这取决于您要创建的图形的字符.当然,您始终可以为3D对象建模并把它们渲染为2D投影.视问题而定,它可能会或可能不会更简单,更快速.为了比较性能,您需要尝试针对特定于您的应用程序的图形任务的方法. DIB?我不认为这是替代其他技术的一种独立技术.您如何选择"它?

—SA
How can Direct2D and Direct3D can be alternative to each other? (Yes, I would recommend usign Direct2D and/or Direct3D.) It depends on character of graphics you want to create. Of course you can always model 3D objects and render them as 2D projections; depending on the problem, it may or may not be simpler and faster. To compare performance you need to try your approaches on graphic tasks specific to your application. DIB? I don''t think it is a separate technology alternative to something else; how can you "choose" it?

—SA


这篇关于高性能像素绘图win32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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