[Webkit-unassigned] [Bug 212647] REGRESSION (r262366): [ Mac wk1 ] webgl/webgl-backing-store-size-update.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 3 19:09:25 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212647

--- Comment #4 from Dean Jackson <dino at apple.com> ---
For WK1, at least in the test harness, it appears to be possible for display to be called *before* prepare.

Notice that the "canvas is displayed" happens earlier.

Good case
---------

canvas size set to 200x200
GCGL reshape to 200x200
Paint happens - document takes note

canvas size set to 100x200 (via setting just .width)
GCGL reshape to 100x200

canvas size set to 100x100 (via setting just .height)
GCGL reshape to 100x100

Paint happens - document takes note

All JS finishes, Document looks for canvas elements needing prep
Document calls prepare on canvas

canvas is displayed

Bad case
---------

canvas size set to 200x200
GCGL reshape to 200x200
Paint happens - document takes note

canvas size set to 100x200 (via setting just .width)
GCGL reshape to 100x200

canvas size set to 100x100 (via setting just .height)
GCGL reshape to 100x100

Paint happens - document takes note

canvas is displayed

All JS finishes, Document looks for canvas elements needing prep
Document calls prepare on canvas

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200604/a29a8bdc/attachment.htm>


More information about the webkit-unassigned mailing list