|
原文:
http://msdn.microsoft.com/en-us/library/bb172231%28VS.85%29.aspx
Always copy data aligned to display memory. Windows 98 uses a page fault handler, Vflatd.386, to implement a virtual flat-frame buffer for display cards with bank-switched memory. The handler allows these display devices to present a linear frame buffer to Direct3D. Copying data unaligned to display memory can cause the system to suspend operations if the copy spans memory banks.
这是网上找到的翻译,不过还是不懂。复制要怎么样才能和显存对齐?
在复制数据时,应用程序应该总是保证和显存对齐。Microsoft Windows® 98使用了一个页故障处理器,Vflatd.386,它为使用内存单元切换(bank-switched memory)的显卡实现一个虚拟的平面帧缓存。该处理器允许此类显示设备以线性方式把帧缓存提供给Direct3D。当复制与显存不对齐的数据时,如果复制的数据跨越内存单元,那么可能会导致系统挂起。 |
|