Only use SkiaGL for canvases of a sane size

RESOLVED FIXED in mozilla26

Status

()

Core
Canvas: 2D
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: snorp, Assigned: snorp)

Tracking

unspecified
mozilla26
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Some of the mochitests create canvases with ridiculous sizes like 100x1. It's apparently not uncommon for GL to have issues with a height like that, so we should just set some sane minimum size requirement.
Created attachment 786946 [details] [diff] [review]
Require a minimum size of 16x16 to use SkiaGL
Attachment #786946 - Flags: review?(matt.woodrow)
Attachment #786946 - Flags: review?(matt.woodrow) → review+
Backed out because this depended on bug 902462, which was also backed out.
https://hg.mozilla.org/integration/mozilla-inbound/rev/99219212d2ba
I thought we decided to use the same size as Chrome for SkiaGL which I believe was 50x100

Updated

5 years ago
Depends on: 903238
https://hg.mozilla.org/mozilla-central/rev/82a46209e728
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.