[Webkit-unassigned] [Bug 53055] REGRESSION: Rendering artifacts on a rotated, pattern filled shape
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 24 22:40:21 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=53055
Dirk Schulze <krit at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #105112|review? |review-
Flag| |
--- Comment #35 from Dirk Schulze <krit at webkit.org> 2011-08-24 22:40:20 PST ---
(From update of attachment 105112)
View in context: https://bugs.webkit.org/attachment.cgi?id=105112&action=review
because of the use of TransformationMatrix.
> Source/WebCore/ChangeLog:11
> + Introduce wkCGPatternCreateWithImageAndTransform, and make use of it
> + when tiling patterns in both directions. This helps to prevent
> + pixel-cracking along pattern tiling boundaries.
This won't have affect to other platforms. Is their a negative visual affect left on other platforms? If so I'd like to have a more general solution, that works for all ports.
> Source/WebCore/rendering/svg/SVGImageBufferTools.cpp:133
> + TransformationMatrix::DecomposedType decomposition;
> + TransformationMatrix tm = transform.toTransformationMatrix();
> + tm.decompose(decomposition);
> + decomposition.quaternionZ = 0.0;
> + tm.recompose(decomposition);
> + transform = tm.toAffineTransform();
Can't we port recompose and decompose to AffineTransform? If z = 0 anyway, it shouldn't be a big problem, but avoids creating a TransformationMatrix. IIRC AffineTransform uses floats while TransformationMatrix uses double (didn't check it). If so, we have unnecessary transformations float --> double --> float. Also TransformationMatrix needs 16 floating point numbers, while AffineTransform just needs 6.
Btw. decomposition.quaternionZ = 0; .0 is superflous.
--
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