Pdf.js: Use OffscreenCanvas if available

Created on 5 Sep 2018  路  3Comments  路  Source: mozilla/pdf.js

"Now you can render your graphics off the main thread with OffscreenCanvas"

https://developers.google.com/web/updates/2018/08/offscreen-canvas

1-viewer

Most helpful comment

This should give a performance boost for Chrome since in my observations rendering takes some time, especially when rendering many different pdfs including changing zoom levels. Is there already a plan to integrate this feature?

All 3 comments

Interesting find. If we can feature-detect this, we could try benchmarking this.

This should give a performance boost for Chrome since in my observations rendering takes some time, especially when rendering many different pdfs including changing zoom levels. Is there already a plan to integrate this feature?

Was this page helpful?
0 / 5 - 0 ratings