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

NEW
Unassigned

Status

()

7 years ago
5 years ago

People

(Reporter: ondras, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
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.

Comment 1

7 years ago
Created attachment 598544 [details]
c1.height = 8193

Comment 2

7 years ago
Created attachment 598545 [details]
c1.height = 8192

Updated

7 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

7 years ago
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
QA Contact: untriaged → canvas.2d
Version: 10 Branch → Trunk

Comment 3

7 years ago
FYI
It works if disable HWA

Comment 4

7 years ago
Confirmed disabling HWA makes it draw
Blocks: 816570

Updated

6 years ago
Duplicate of this bug: 824981
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
You need to log in before you can comment on or make changes to this bug.