Open Bug 728571 Opened 12 years ago Updated 2 years ago

Not possible to draw extra-tall canvas (>8192) into a smaller one

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: ondras, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120215223356

Steps to reproduce:

Open http://jsfiddle.net/whCp5/5/


Actual results:

The smaller canvas is not red.


Expected results:

The smaller canvas should be red.

If I change the height of larger canvas to be <= 8192, drawImage works okay.
Attached file c1.height = 8193
Attached file c1.height = 8192
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
QA Contact: untriaged → canvas.2d
Version: 10 Branch → Trunk
FYI
It works if disable HWA
Confirmed disabling HWA makes it draw
Blocks: 816570
I see this on OSX (retina) when going above 4096 in the trunk.  In other words, 4096 works, 4097 does not.  I'm pretty sure we should fall back from HW automatically when we go beyond what the hardware can handle.
OS: Windows 7 → All
Summary: Windows 7 - not possible to draw extra-tall canvas (>8192) into a smaller one → Not possible to draw extra-tall canvas (>8192, > 4096, hw specific) into a smaller one
(In reply to Milan Sreckovic [:milan] from comment #6)
> I see this on OSX (retina) when going above 4096 in the trunk.  In other
                                                          ^^^^^
I take that back.  This is fine on OSX in the trunk, but was broken in 19. We did, however, limit the size of the texture on OSX/Intel, so that's probably saving us.
OS: All → Windows 7
Summary: Not possible to draw extra-tall canvas (>8192, > 4096, hw specific) into a smaller one → Not possible to draw extra-tall canvas (>8192) into a smaller one
Just to finish the OSX comments:
* 19, with Intel - problem > 4096
* 19, with discrete graphics - OK
* trunk, with Intel, ok
* trunk, with discrete graphics - OK
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: