Closed Bug 1902012 Opened 1 year ago Closed 1 year ago

Disable hardware acceleration in pdf.js

Categories

(Firefox :: PDF Viewer, defect, P1)

defect

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.

Depends on: 1902649

How can disabling acceleration, actually improve performance? Aside of bugs, that is.

(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
See Also: → 1906370
See Also: → 1907828
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: