与目标无关的光栅化 (TIR) 是DirectX 11.1 中的一项新硬件功能,Microsoft使用它来改进 Windows 8 中的 Direct2D。AMD 声称TIR 将 2D 矢量图形的性能提高了约 500%。并且与 Nvidia 发生了一些“口水战”,因为Kepler GPU 显然不支持 TIR(以及其他 DirectX 11.1 功能)。TIR 的想法似乎起源于微软,因为他们为它申请了专利。
现在 Direct2D 很好,您的操作系统是 Windows,但是是否有一些 OpenGL(可能是供应商/AMD)扩展可以提供对相同硬件/驱动程序 TIR 事物的访问?我认为 AMD 有点奇怪,因为 OpenGL 没有独立于供应商的 2D 矢量图形扩展。目前只有 Nvidia 正在推广NV_path_rendering,其架构与 Direct2D 有很大不同。因此,与 Direct2D+Direct3D 世界不同,AMD 为加速 2D 矢量图形而制造的任何东西可以在 OpenGL 中插入(或显示)的地方还不清楚。我希望我的悲观主义将被下面的简单答案所揭开。
我实际上在这里发布了各种更新,因为评论风格的帖子中没有足够的空间来做这件事。TIR 的作用似乎有点混乱,这不仅仅是“没有附加存储的帧缓冲区”。这可能是因为我在上面只链接到最糟糕的专利权人(但这是我在 TIR 上能找到的最详细的文件)。我发现的关于 TIR 的最佳高级概述是来自Sinofsky 的博客文章的以下片段:
为了在渲染不规则几何体(例如地图上的地理边界)时提高性能,我们使用了一种新的图形硬件功能,称为目标独立光栅化或 TIR。
TIR 使 Direct2D 能够在曲面细分上花费更少的 CPU 周期,因此它可以更快、更高效地向 GPU 提供绘图指令,而不会牺牲视觉质量。TIR 可用于为支持 DirectX 11.1 的 Windows 8 设计的新 GPU 硬件。
下面的图表显示了在支持 TIR 的 DirectX 11.1 GPU 上从各种 SVG 文件渲染抗锯齿几何图形的性能改进:[图表截图]
我们与我们的图形硬件合作伙伴 [阅读 AMD] 密切合作来设计 TIR。由于这种伙伴关系,显着改善成为可能。DirectX 11.1 硬件今天已经上市,我们正在与我们的合作伙伴合作,以确保更多支持 TIR 的产品能够广泛使用。
这是我要求从 OpenGL 使用的硬件。(哎呀,我什至愿意从 Mantle 调用它,因为它也可以在 Windows 之外使用。)