Closed Bug 626962 Opened 14 years ago Closed 14 years ago

Implement empty transactions for GL

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: roc, Assigned: roc)

References

Details

(Whiteboard: [softblocker])

Attachments

(2 files)

See bug 621601. We just need the GL version of that (plus some testing).
Blocks a blocking performance regression.
blocking2.0: --- → ?
Attached patch fixSplinter Review
The patch is pretty trivial...
Assignee: nobody → roc
I'm about to head off for a bit ... Matthew, could you try a GL system (either Mac or Linux should be fine) and see if this patch a) works and b) improves CPU usage for video playback a la bug 602080?
blocking2.0: ? → betaN+
Whiteboard: [softblocker]
Attachment #505223 - Flags: review+ → review?(bas.schouten)
Attachment #505223 - Flags: review?(bas.schouten) → review+
Whiteboard: [softblocker] → [softblocker][needs landing]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [softblocker][needs landing] → [softblocker]
<johnath> roc: tn thinks you made my tab switching really really slow (empty GL transactions - sort of looks like my browser/content isn't invalidating properly) <roc> johnath: oh dear, did I/ <roc> ? <roc> Mac I assume? <johnath> quite so - 10.6 <gavin> well dria filed bug 629166 <gavin> but I guess that is different <johnath> gavin: may be, I guess we have to assume as much in the meantime, anyhow <roc> probably should back out bug 626962 to fix that <cjones> that's also one suspect for the reftest failures <johnath> commenting in the bug Looks like this should be backed out, but I'll let roc handle the heavy lifting
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Incidentally, backing this out also fixed bug 629166, so any relandings should take into consideration the effect on painting persona transitions as well.
Blocks: 629166
Still green on try --- with accelerated layers enabled this time :-). Need to build on my laptop and test manually.
The regression was because we were painting to the Mac's special titlebar BasicLayerManager and then clearing the NS_FRAME_UPDATE_LAYER_TREE flag. Then we'd paint the main window with the GL layer manager, but NS_FRAME_UPDATE_LAYER_TREE is not set so we we'd do an empty transaction and not update the real layer tree.
Attachment #509074 - Flags: review?(tnikkel)
Comment on attachment 509074 [details] [diff] [review] Don't do empty transactions when painting to a non-retaining layer manager Hope we don't get any more layer manager's on a single widget in the future...
Attachment #509074 - Flags: review?(tnikkel) → review+
Keywords: checkin-needed
Whiteboard: [softblocker] → [softblocker][needs landing]
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [softblocker][needs landing] → [softblocker]
Depends on: 633261
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: