I-beam cursor color changing based on the background

2015-10-15 Thread John Doerthy
Hi,   Could you please comment on this issue, if you are currently working on the Windows-like implementation of the I-beam cursor (cursor for text selection) in the graphical interface?   In Windows, the I-beam cursor, change color based on the background. So, most of the time it's black, but

Re: I-beam cursor color changing based on the background

2015-10-15 Thread Jasper St. Pierre
Most desktop CRTCs support a XOR key in their ROP, since it was required by Windows for such a long time. I don't think Linux has support for that in KMS, nor for similar things like alpha keying as well. Perhaps we'll get it as a plane property at some point. I don't know of any mobile/embedded

Re: I-beam cursor color changing based on the background

2015-10-15 Thread Bill Spitzak
That's xor of the color bits. The blue/red is due to xor'ing with the subpixel antialiasing. It is more obvious if you put the cursor over a solid colored area where you will see strange colors. It cannot be achieved with Porter-Duff combinations. I am not sure if OpenGL or DirectX supports