prevent potential deadlock in commit |
||
Issue descriptionWhen 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.
,
May 3 2018
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 |
||
Comment 1 by xidac...@chromium.org
, Nov 29 2016Owner: xlai@chromium.org