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

Related issues

patelsumit5192 picture patelsumit5192  路  3Comments

PeterNerlich picture PeterNerlich  路  3Comments

BrennanDuffey picture BrennanDuffey  路  3Comments

smit-modi picture smit-modi  路  3Comments

kleins05 picture kleins05  路  3Comments