Codepen demo (https://codepen.io/noeldelgado/pen/NPGmRO ) is a lot slower with gpu-canvas compared to skia-canvas
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox112 | --- | unaffected |
| firefox113 | --- | fixed |
| firefox114 | --- | fixed |
People
(Reporter: mayankleoboy1, Assigned: jnicol)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(2 files)
|
39.95 KB,
text/plain
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Go to https://codepen.io/noeldelgado/pen/NPGmRO
skia-canvas: https://share.firefox.dev/3KodYYE
gpu-canvas: https://share.firefox.dev/3UlNlIl
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Comment 2•2 years ago
|
||
Regression range:
2023-04-08T12:14:21.957000: DEBUG : Found commit message:
Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D174685
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
In bug 1826134 we added a fast-path to WebGLBuffer::BufferSubData used
by DrawTargetWebgl, which under the hood uses glMapBufferRange with
GL_MAP_UNSYNCHRONIZED_BIT. However, this causes performance issues on
ANGLE. This patch therefore avoids the fast-path on ANGLE, falling
back to a simple glBufferSubData instead.
Comment 4•2 years ago
|
||
Set release status flags based on info from the regressing bug 1826134
Comment 6•2 years ago
|
||
| bugherder | ||
Comment 7•2 years ago
|
||
The patch landed in nightly and beta is affected.
:jnicol, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox113towontfix.
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9327939 [details]
Bug 1827047 - Avoid unsynchronized BufferSubData fast-path on ANGLE. r?#gfx-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: Slow performance for windows users who have manually enabled accelerated canvas (off by default)
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Reverts to previous behaviour. Not enabled by default
- String changes made/needed:
- Is Android affected?: No
| Reporter | ||
Comment 9•2 years ago
|
||
Profile from latest Nightly: https://share.firefox.dev/3MCWJpt
This is fixed. Thanks!
Comment 10•2 years ago
|
||
Comment on attachment 9327939 [details]
Bug 1827047 - Avoid unsynchronized BufferSubData fast-path on ANGLE. r?#gfx-reviewers
Approved for 113 beta 3, thanks.
Comment 11•2 years ago
|
||
| bugherder uplift | ||
Description
•