New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652707 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

prevent potential deadlock in commit

Project Member Reported by xidac...@chromium.org, Oct 4 2016

Issue description

When OffscreenCanvas's commit (2D) happens, we create a WebGraphicsContext3DProvider instance. Note that creating this instance require a worker-->main-->worker round trip which is very expensive, and it could also cause deadlock, For example, If the main thread is waiting on a spinlock that is to be unlocked by a worker after commit().

This need to be addressed, in both accelerated and un-accelerated 2d canvas case.
 
Cc: -xlai@chromium.org
Owner: xlai@chromium.org

Comment 2 by xlai@chromium.org, May 3 2018

Status: WontFix (was: Assigned)
This issue becomes irrelevant after junov@ has removed the function OffscreenCanvasResourceProvider::SetTransferableResourceToSharedGPUContext in this CL: https://chromium-review.googlesource.com/c/chromium/src/+/794108

Sign in to add a comment