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 2 times, most recently from 3f807f5 to d44e924 Compare July 9, 2025 07:45
ryzokuken and others added 3 commits July 14, 2025 23:09
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