Closed
Bug 1902012
Opened 2 years ago
Closed 2 years ago
Disable hardware acceleration in pdf.js
Categories
(Firefox :: PDF Viewer, defect, P1)
Firefox
PDF Viewer
Tracking
()
RESOLVED
FIXED
129 Branch
People
(Reporter: calixte, Assigned: calixte)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It should improve performances and avoid some bad rendering issues.
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
See Also: → https://github.com/mozilla/pdf.js/issues/18241
How can disabling acceleration, actually improve performance? Aside of bugs, that is.
Comment 3•2 years ago
|
||
(In reply to mirh from comment #2)
How can disabling acceleration, actually improve performance? Aside of bugs, that is.
Hardware acceleration doesn't always help, it depends on the characteristics of the workload.
E.g. in the case of pdf.js, we often need to read back the pixels we draw. If we draw them with the GPU on the GPU, we need to read back the memory from the GPU, and this is very costly. If we draw them with the CPU on the CPU memory, reading is very cheap.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•