Here's a profile from scrolling https://www.cnn.com/ampstories/ in a Fennec build that had WebRender enabled: https://perfht.ml/2Ejv8rQ This build is from https://treeherder.mozilla.org/#/jobs?repo=try&revision=f07be174b4a02f783ef3e6882b02bfe696e6a427&selectedJob=195831601 . In the profile, you can see glTexSubImage3D blocking on the GPU during texture upload. We should find a way of uploading textures that does not block.
We've hit this before. One hack around it is to use TexImage instead of TexSubImage if we're uploading the whole buffer. MapBufferRange(Write, Invalidate)+PBO+TexSubImage is probably what we want.
(In reply to Jeff Gilbert [:jgilbert] from comment #1) > We've hit this before. > One hack around it is to use TexImage instead of TexSubImage if we're > uploading the whole buffer. > MapBufferRange(Write, Invalidate)+PBO+TexSubImage is probably what we want. Note that, with immutable storage (landing in bug 1496168), I don't think TexImage is allowed.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/dd8f4d598a43 Update gleam to 0.6.9. r=kats https://hg.mozilla.org/integration/autoland/rev/a9eee2d6d9b8 Ensure PBO texture upload is performed asynchronously on webrender on Adrenos. r=kvark
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.