Closed
Bug 788087
Opened 12 years ago
Closed 12 years ago
[Azure] Cairo surface patterns do not apply the pattern matrix
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: ajones, Assigned: ajones)
Details
Attachments
(1 file, 1 obsolete file)
1.07 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
When a surface is used as a pattern the pattern matrix is not applied in DrawTargeCairo. This causes images to display incorrectly when using DrawTarget directly for example with Azure Cairo content.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
QA Contact: ajones
Comment 2•12 years ago
|
||
Try run for fec6e51fba98 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=fec6e51fba98
Results (out of 252 total builds):
success: 231
warnings: 16
failure: 5
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ajones@mozilla.com-fec6e51fba98
Assignee | ||
Updated•12 years ago
|
Attachment #657996 -
Flags: review?(joe)
Comment 3•12 years ago
|
||
Comment on attachment 657996 [details] [diff] [review]
Apply pattern matrix when using a surface pattern.
The fact that the matrix is inverted is due to us being in device space, correct? Probably deserves a comment.
Attachment #657996 -
Flags: review?(joe) → review+
Comment 4•12 years ago
|
||
From cairo docs of cairo_pattern_set_matrix:
* Important: Please note that the direction of this transformation
* matrix is from user space to pattern space. This means that if you
* imagine the flow from a pattern to user space (and on to device
* space), then coordinates in that flow will be transformed by the
* inverse of the pattern matrix.
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #658270 -
Flags: review?(joe)
Assignee | ||
Updated•12 years ago
|
Attachment #658270 -
Flags: review?(joe)
Assignee | ||
Updated•12 years ago
|
Attachment #657996 -
Attachment is obsolete: true
Comment 6•12 years ago
|
||
Comment on attachment 658270 [details] [diff] [review]
Apply pattern matrix when using a surface pattern v2 (with comments)
Review of attachment 658270 [details] [diff] [review]:
-----------------------------------------------------------------
when I r+ I don't need to see it again :)
Attachment #658270 -
Flags: review+
Comment 7•12 years ago
|
||
Try run for fec6e51fba98 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=fec6e51fba98
Results (out of 257 total builds):
success: 234
warnings: 17
failure: 6
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ajones@mozilla.com-fec6e51fba98
Assignee | ||
Comment 8•12 years ago
|
||
Patch has changed since try push but only comments.
Keywords: checkin-needed
Comment 9•12 years ago
|
||
(In reply to Mozilla RelEng Bot from comment #7)
> https://tbpl.mozilla.org/?tree=Try&rev=fec6e51fba98
Green on Try.
https://hg.mozilla.org/integration/mozilla-inbound/rev/bc9be79a2eeb
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•