Closed
Bug 987292
Opened 12 years ago
Closed 12 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•12 years ago
|
||
Assignee: nobody → cabanier
| Assignee | ||
Comment 2•12 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•12 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•12 years ago
|
Attachment #8395937 -
Flags: review?(jmuizelaar) → review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•