Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can anyone see what I'm doing wrong here? (CI Kernel)




On Aug 9, 2005, at 12:36 PM, Sam Kass wrote:

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.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Can anyone see what I'm doing wrong here? (CI Kernel) (From: "John C. Randolph" <email@hidden>)
 >Re: Can anyone see what I'm doing wrong here? (CI Kernel) (From: Sam Kass <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.