Closed
Bug 738690
Opened 13 years ago
Closed 13 years ago
[Azure] Properly convert patterns to userspace in Azure
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
(deleted),
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
SVG font code can change the transform after having set the pattern on the context. When the pattern is set it is in user space, if the transform is changed after doing so the pattern needs to be converted back into userspace. We currently don't do this and it causes reftest failures inside SVG.
This patch deals with the situation, it tries to avoid doing work when not needed as best it can, but considering we often leave a pattern set while we change the transform in preparation of a new pattern it does regularly waste a copy of the transform into CurrentState().patternTransform. There's nothing we can do about that if we want the wrapper to be correct though.
Attachment #608747 -
Flags: review?(jmuizelaar)
Comment 1•13 years ago
|
||
Comment on attachment 608747 [details] [diff] [review]
Deal with a changing pattern transform in the Azure wrapper
Review of attachment 608747 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/gfxContext.cpp
@@ +2074,5 @@
> }
> }
> +
> +void
> +gfxContext::TransformWillChange()
I think it's probably worth adding a summary of why this is need as a comment. Something like your original comment no the bug would be good.
Attachment #608747 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•