This looks like an excellent test case for the ternary operator bug
people have been seeing. I'll bet switching the ? : to "compare"
would make the glitch go away.
Hmm.. Let me give that a try.. I don't see why that bug would only
affect the red, though.
It looks like some mixing of red and green are going on somewhere
deep down. Could it be something like a bad conversion of the red
component from 5551 16-bit color space (or 565) to 8888 32-bit
color in some pipeline? Or some setting where when it's looking
for the red value in BGR, it thinks it's in 16-bit mode when it
should be in 32-bit mode? These would bleed green into red.
Anyway, just speculation.
I thought that in a CI kernel, I could just work in floating point
and all that conversion should already be done for me. At any rate,
I'd expect that the buffers I'm working with should all be 32-bit
ARGB at the hardware level.
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.