Open
Bug 1194719
Opened 10 years ago
Updated 3 years ago
Copying with drawImage causes a blurry canvas on Nexus 7
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
ASSIGNED
People
(Reporter: samuel, Assigned: jnicol)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
|
389 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.15 Safari/537.36
Firefox for Android
Steps to reproduce:
1. Firefox 40 running on Nexus 7 with Android 5.1.1
2. Use canvasContext.drawImage to copy content from the canvas to the same canvas
Actual results:
The resulting image in the canvas is blurry. The more times you do the copy, the blurrier it gets.
Expected results:
It should not get blurry.
Setting the following property will work around the issue:
canvasContext.mozImageSmoothingEnabled = false;
Updated•10 years ago
|
Assignee: nobody → jnicol
Whiteboard: [gfx-noted]
| Assignee | ||
Comment 2•10 years ago
|
||
I can reproduce this on both my 2013 Nexus 7 (Adreno 320) and my Nexus 5 (Adreno 330).
This issue does not affect my Nexus 6 (Adreno 420) or my Galaxy S6 (Mali-T760).
| Assignee | ||
Comment 3•10 years ago
|
||
This is only an issue when using SkiaGL for canvas, and drawing with the skia filter mode set to SkPaint::kLow_FilterLevel or SkPaint::kMedium_FilterLevel. kNone_FilterLevel and kHigh_FilterLevel render correctly. Not sure yet what's going on internally in skia (and the driver) that's causing this.
Updated•7 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•