Closed Bug 688902 Opened 8 years ago Closed 8 years ago

Document as to whether Color is premultiplied or not

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

No description provided.
Attachment #562174 - Flags: review?(bas.schouten)
Comment on attachment 562174 [details] [diff] [review]
Add documentation

Review of attachment 562174 [details] [diff] [review]:
-----------------------------------------------------------------

Hrm, I wonder, is it right to store this non-premultiplied or should we change that?
Yeah, I think it's right. Most of the APIs take input as non-premultiplied. Usually, you want to postpone multiplying until needed.
Comment on attachment 562174 [details] [diff] [review]
Add documentation

Review of attachment 562174 [details] [diff] [review]:
-----------------------------------------------------------------

Ok
Attachment #562174 - Flags: review?(bas.schouten) → review+
https://hg.mozilla.org/mozilla-central/rev/e8ed233379f2
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.