Closed
Bug 1804924
Opened 2 years ago
Closed 2 years ago
Allow willReadFrequently to control whether DrawTargetWebgl is created
Categories
(Core :: Graphics: Canvas2D, enhancement)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
109 Branch
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
Details
Attachments
(1 file)
In previous discussion on Matrix with Kelsey and pdf.js team, we had determined it might be useful to have an option to disable attempts to accelerate Canvas2D. There is in fact already willReadFrequently both in the spec (https://github.com/fserb/canvas2D/blob/master/spec/will-read-frequently.md) and our internal documentation (https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext) and our IDL (https://searchfox.org/mozilla-central/source/dom/webidl/CanvasRenderingContext2D.webidl#19).
So all that remains is to actually use this attribute to control whether we use DrawTargetWebgl or not...
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Severity: -- → N/A
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d43ff0044fe
Don't use DrawTargetWebgl when willReadFrequently is set. r=jrmuizel
Comment 3•2 years ago
|
||
Backed out for causing build bustages
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/gfx/layers/PersistentBufferProvider.cpp(663,38): error: no member named 'front' in 'mozilla::Vector<RefPtr<mozilla::layers::TextureClient>, 7>'
Flags: needinfo?(lsalzman)
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/169fe70ad296
Don't use DrawTargetWebgl when willReadFrequently is set. r=jgilbert,jrmuizel
Comment 5•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•