Closed
Bug 987292
Opened 10 years ago
Closed 10 years ago
drawImage does not resample outside source rect
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: cabanier, Assigned: cabanier)
Details
Attachments
(1 file)
2.70 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
When image smoothing is enable and there is scaling of the source data, the browser is supposed to sample the original image data. See my email to WhatWG: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2014-March/084578.html This bug does not happen on the D2D backend.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → cabanier
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8395937 [details] [diff] [review] New implementation for DrawTargetCG::DrawSurface Updated DrawTargetCG::DrawSurface so drawImage will look outside of the source rectangle. This should also make drawImage faster since it no longer has to make a temporary image.
Attachment #8395937 -
Flags: review?(vladimir)
Assignee | ||
Comment 3•10 years ago
|
||
successful try run: https://tbpl.mozilla.org/?tree=Try&rev=9848dcdf0546
Comment on attachment 8395937 [details] [diff] [review] New implementation for DrawTargetCG::DrawSurface bouncing over to Jeff for review
Attachment #8395937 -
Flags: review?(vladimir) → review?(jmuizelaar)
Updated•10 years ago
|
Attachment #8395937 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 5•10 years ago
|
||
landed as https://hg.mozilla.org/integration/mozilla-inbound/rev/cafd9175112f
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cafd9175112f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•