Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 2 users
Status: Fixed
Owner:
Closed: Apr 28
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug

Blocking:
issue 563816



Sign in to add a comment
[OffscreenCanvas] 'Out of memory' calling transferToImageBitmap()
Reported by a...@scirra.com, Feb 25 2017 Back to list
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3023.0 Safari/537.36

Steps to reproduce the problem:
Note: enable 'experimental canvas features' in chrome://flags

1. Visit https://www.scirra.com/labs/bugs/offscreencanvas-oom/
2. Click 'Crash'

What is the expected behavior?
The button simply calls transferToImageBitmap() on a WebGL 2 context from an OffscreenCanvas.

What went wrong?
Chrome throws an 'Out of memory' exception.

It works in Firefox Nightly. It also works in Chrome with a WebGL 1 context.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 58.0.3023.0  Channel: canary
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0
 
Comment 1 by a...@chromium.org, Feb 27 2017
Labels: Needs-Triage-M58
Comment 2 by junov@chromium.org, Feb 27 2017
Labels: -Needs-Triage-M58 M-59
Owner: junov@chromium.org
Status: Assigned
Labels: -Pri-2 Pri-1
Blocking: 563816
Owner: xlai@chromium.org
Status: Started
Project Member Comment 6 by bugdroid1@chromium.org, Apr 25
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/05b481280cf7cedb90c986f4b46aaaf87e781eca

commit 05b481280cf7cedb90c986f4b46aaaf87e781eca
Author: xlai <xlai@chromium.org>
Date: Tue Apr 25 16:19:01 2017

Implement OffscreenCanvas.WebGL2Context TransferToImageBitmap

BUG= 696223 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2816033004
Cr-Commit-Position: refs/heads/master@{#467007}

[modify] https://crrev.com/05b481280cf7cedb90c986f4b46aaaf87e781eca/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp

Project Member Comment 7 by bugdroid1@chromium.org, Apr 28
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/96ce1dbb12faf3c6771ec294f982c42dac090f99

commit 96ce1dbb12faf3c6771ec294f982c42dac090f99
Author: xlai <xlai@chromium.org>
Date: Fri Apr 28 02:13:48 2017

Roll WebGL 40d75ac..f7157c2

https://chromium.googlesource.com/external/khronosgroup/webgl.git/+log/40d75ac..f7157c2

BUG= 696223 , 715696 

TEST=bots

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2844703002
Cr-Commit-Position: refs/heads/master@{#467841}

[modify] https://crrev.com/96ce1dbb12faf3c6771ec294f982c42dac090f99/DEPS
[modify] https://crrev.com/96ce1dbb12faf3c6771ec294f982c42dac090f99/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py
[modify] https://crrev.com/96ce1dbb12faf3c6771ec294f982c42dac090f99/content/test/gpu/gpu_tests/webgl_conformance_revision.txt

Status: Fixed
Sign in to add a comment