请教如何编程获取显卡的gamma table信息?
需要从显卡读取framebuffer value -> DAC value 的gamma转换表。我的ati显卡的设置中有一项是可以设置和读取gamma table信息的。台湾的powerstrip也能如此。http://entechtaiwan.net/util/ps.shtm
现在需要编程读取该gamma table信息。有大虾知道如何对显卡读取吗?
GetDeviceGammaRamp and SetDeviceGammaRamp 不行。我从网上下载了几个quickgamma等程序:但是他们设置的gamma不改变屏幕的显示亮暗。他们读取的gamma不反映ati设置的改变。因此这两个WIN32 API不行。(Windows XP Pro环境)
The tutorial from ATI says that these two
functions, along with their counterparts in DirectX, only work when the full
screen application gains control of the whoel screen, such as 3D games.
但是我需要能够立即改变整个屏幕的gamma设置,就如ati的setting和台湾的powerstrip一样。有大侠知道应该怎么做吗?
非常感谢。