Skip to content

Conversation

ryzokuken
Copy link
Collaborator

This change works on top of #20016 to move CanvasGraphics operations to a new/different worker thread, thus offloading the heavy page renders and freeing up the main thread.

@ryzokuken ryzokuken self-assigned this Jul 2, 2025
@ryzokuken ryzokuken changed the title Offload rendering to worker Offload rendering to a worker Jul 2, 2025
@ryzokuken ryzokuken force-pushed the worker-drawing branch 3 times, most recently from d44e924 to 525db91 Compare July 14, 2025 23:05
@github-project-automation github-project-automation bot moved this to In progress in PDF.js quality Jul 25, 2025
ryzokuken and others added 3 commits October 3, 2025 16:19
Move the work of drawing the PDF onto the cavas to a worker thread
using OffscreenCanvas. This should free up the main thread a bit by
moving all of the CanvasGraphics operations to this "renderer" worker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants