Closed Bug 1002300 Opened 10 years ago Closed 10 years ago

Lazily create the backbuffer for ContentClientDoubleBuffered

Categories

(Core :: Graphics: Layers, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

Attachments

(1 file)

Right now we create a front buffer when we create the backbuffer, but it will only be used as an actual back buffer if the layer is actually changed. This patch makes it so we only lazily create a backbuffer. This seems to even make the code a little cleaner in my opinion.

I think this is correct, but this code is such a mess it's hard to be 100% sure. This might even save us memory where buffer rotation is used with non-changing layers.
Attachment #8413481 - Flags: review?(nical.bugzilla)
Attachment #8413481 - Flags: review?(nical.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/96395ad2aac9
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Depends on: 1012213
Depends on: 1014355
Bas, please could you back this out asap, since this caused bug 1014355 - and we haven't had a response from you in that bug in the last 10 days. I'd rather investigate this once we've backed out, to reduce the number of failures the sheriffs are having to deal with. Thanks!
Status: RESOLVED → REOPENED
Flags: needinfo?(bas)
Resolution: FIXED → ---
Milan, we're struggling to get a response from Bas in order to back this bug out for causing bug 1014355. We haven't had a single reply since the needinfo on 2014-05-30 in bug 1014355 comment 46. Please can you see what's up? Thanks!
Flags: needinfo?(milan)
Bas, with bug 1014355 assigned, but not knowing how long it will take to fix, what are the implications of backing this out?
Flags: needinfo?(milan)
The implications of backing this out is regressing performance for static pageloads on B2G and Windows with Direct2D. I don't think it's worth it.
Flags: needinfo?(bas)
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: