WebGL basic compositor does sync readback

NEW
Unassigned

Status

()

P3
normal
3 years ago
a year ago

People

(Reporter: alorken, Unassigned)

Tracking

45 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: gfx-noted)

Attachments

(3 attachments, 1 obsolete attachment)

(Reporter)

Description

3 years ago
Created attachment 8733353 [details]
external links for preview of problem and profile logs

I develop a game, and in 45.0.1 version I have performance problem. In "Call Graph" retreived over "Gecko Profiler"/"Cleopatra.io" I see what after every frame function PressShell::Paint works 25-30msec. But in old version 40.0.3 function PressShell::Paint appears not after every frame and works 1ms. In nightly build (48.0a1) seems all right too.

What do I need to do to get everything working in the 45th version?
(Reporter)

Comment 1

3 years ago
Created attachment 8733358 [details]
preview
(Reporter)

Comment 2

3 years ago
Created attachment 8733360 [details]
profile log version 45
(Reporter)

Comment 3

3 years ago
Created attachment 8733361 [details]
profile log version 40
(Reporter)

Updated

3 years ago
Attachment #8733353 - Attachment description: preview of problem and profile logs → external links for preview of problem and profile logs
(Reporter)

Comment 4

3 years ago
Comment on attachment 8733353 [details]
external links for preview of problem and profile logs

attachments are added separately
Attachment #8733353 - Attachment is obsolete: true

Updated

3 years ago
Component: General → Canvas: WebGL
Product: Firefox → Core
Does this ring any bells for you, BenWa?
Flags: needinfo?(bgirard)
Whiteboard: gfx-noted
Looks like you're just using Basic compositor.

Perhaps something regressed from 40 -> 45 causing a readback to be required.

If you can run mozregression to pin-point the change where the performance got worse that would be very useful.
Flags: needinfo?(bgirard)

Updated

3 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: WebGL performance, PresShell::Paint problem → WebGL basic compositor does sync readback
(Reporter)

Comment 7

3 years ago
"Refresh Firefox" solved this problem. I had to try this function first. It seems it does not depend on the version of the browser.
You need to log in before you can comment on or make changes to this bug.