Closed
Bug 1902012
Opened 1 year ago
Closed 1 year 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 5 open bugs)
Details
Attachments
(1 file)
It should improve performances and avoid some bad rendering issues.
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year 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•1 year 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: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•