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

zerr0s picture zerr0s  路  3Comments

THausherr picture THausherr  路  3Comments

timvandermeij picture timvandermeij  路  4Comments

PeterNerlich picture PeterNerlich  路  3Comments

jigskpatel picture jigskpatel  路  3Comments