[Webkit-unassigned] [Bug 17284] [CAIRO] Introduce single-pixel image optimizations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 3 08:30:24 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=17284
krit at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28192|0 |1
is obsolete| |
Attachment #28221| |review?
Flag| |
------- Comment #3 from krit at webkit.org 2009-03-03 08:30 PDT -------
Created an attachment (id=28221)
--> (https://bugs.webkit.org/attachment.cgi?id=28221&action=view)
single pixel optimization with CairoColor
I talked to eseidel in IRC and he mentioned to add a new typedef or somthing
like that to avoid failured and make the code reading better.
I added a new color schema to Cairo: CairoColor. CairoColor attends to
premultiplying and every other calculation. I added some small callers to have
access to the color values of a pixel. You can easily get the unpremutiplied
colors of a pixel or set them by adding unpremultiplied colors.
We just support image surfaces with 32bit for now. There are asserts before
every direct manipulation of surfaces. But I don't see a problem to support
other surfaces in the future if wanted.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list