Closed Bug 1389254 Opened 7 years ago Closed 3 years ago

Presented content of an OffscreenCanvas flicker when size is being changed per-frame

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

x86_64
Windows 10
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox57 --- wontfix

People

(Reporter: jujjyl, Unassigned)

References

Details

(Whiteboard: gfx-noted)

STR: Enable gfx.offscreencanvas.enabled;true and visit http://clbri.com/OffscreenCanvas/offscreencanvas_animate_resize/lowdpi_match_canvas_size.html The animation should repaint the flag at each frame, but occassionally the rendered image flickers and the background image of the canvas is shown instead. When visiting the page in Chrome Canary, the flickering does not occur.
(In reply to Jukka Jylänki from comment #0) > STR: Enable gfx.offscreencanvas.enabled;true and visit > > http://clbri.com/OffscreenCanvas/offscreencanvas_animate_resize/ > lowdpi_match_canvas_size.html > > The animation should repaint the flag at each frame, but occassionally the > rendered image flickers and the background image of the canvas is shown > instead. When visiting the page in Chrome Canary, the flickering does not > occur. For Chrome Canary, go to chrome://flags/ and enable "Experimental canvas features", I saw the resize animation in Canary is more smooth. But in Firefox, I can see the flag sway effect, that is a bug or what you want?
Priority: -- → P3
Whiteboard: gfx-noted
Here is what I am seeing: On Firefox Nightly 57.0a1 (2017-08-13) (64-bit) on Windows 10 with gfx.offscreencanvas.enabled;true: http://clbri.com/dump/FirefoxNightly_OffscreenCanvas_resize_flicker.mp4 On Chrome Canary Version 62.0.3182.0 (Official Build) canary (64-bit) on the same computer, with Experimental canvas features enabled: http://clbri.com/dump/ChromeCanary_OffscreenCanvas_resize_ok.mp4 In Firefox, it looks like under certain sizes/frames, the flag disappears altogether. In both browsers, the flag does sway identically. Chrome looks good and expected. Oddly, scrubbing the video per frame, the flagpole does get rendered, and deterministically the same frames are missing.

The rendering pipeline is completely different for OffscreenCanvas now, and the test case is no longer accessible to verify against.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.