[Webkit-unassigned] [Bug 89138] [cairo] improve putByteArray speed by avoiding max/min checks at Color construction.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 19 13:22:09 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89138
--- Comment #7 from Igor Trindade Oliveira <igor.oliveira at webkit.org> 2012-06-19 13:22:08 PST ---
(From update of attachment 148404)
View in context: https://bugs.webkit.org/attachment.cgi?id=148404&action=review
> Source/WebCore/platform/graphics/cg/ImageCG.cpp:131
> + m_solidColor = Color(pixel[0] * 255 / pixel[3], pixel[1] * 255 / pixel[3], pixel[2] * 255 / pixel[3], (int)pixel[3]);
nit: normally we use c++ cast.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list