Hello, I don't paint the colorkey in driver. And I have think that if app programe ask for colorkey and set the colorkey value, then the driver set the relatived registers . and if the app programe don't ask for colorkey , the driver do nothing. Now it seems that my thougnt is too simple. But I have another question, when we auto paint the key color through the driver, if the efficiency will be very slow ? I look at some founction in ati and nv' xv driver in putvideo, it seems that they use 2D founction, it's do that ?
Thanks very much Hzeng > > The driver should be painting the colorkey like it is in all the > other drivers. The client choosing to paint the key should be optional > behavior selected by the client specifically turning off the AUTOPAINT. > Yes, there are problems when the client quits and autopainting is > still left disabled. There's not really a solution for that. > Having the client paint the key itself is a kludge in this API and > is discouraged. > > > Mark. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert