Closed Bug 1241260 Opened 9 years ago Closed 9 years ago

Properly clean up current composite task during force composites

Categories

(Core :: Graphics: Layers, defect)

46 Branch
ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox46 --- affected

People

(Reporter: mchang, Assigned: mchang)

References

Details

(Whiteboard: gfx-noted)

Attachments

(1 file)

When CompositorVsyncScheduler::Composite is called, it clears the current composite task [1]. However, during force composition [2], due to bug 1239861, we don't properly cancel the current composite task. We only set the current composite task to null. Instead, we should properly cancel the task. [1] http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/CompositorParent.cpp#432 [2] http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/CompositorParent.cpp#482
Comment on attachment 8710088 [details] [diff] [review] Properly cancel current composite task on force composites Review of attachment 8710088 [details] [diff] [review]: ----------------------------------------------------------------- Did you find this just by code inspection, or was there a manifestation of this bug somewhere?
Attachment #8710088 - Flags: review?(bugmail.mozilla) → review+
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2) > Comment on attachment 8710088 [details] [diff] [review] > Properly cancel current composite task on force composites > > Review of attachment 8710088 [details] [diff] [review]: > ----------------------------------------------------------------- > > Did you find this just by code inspection, or was there a manifestation of > this bug somewhere? I was thinking about the code a bit more and realized I forgot to do this.
I hope this fixes the other regressions from bug 1239861!
Blocks: 1239861
Not applicable anymore with the changed code in bug 1239861. Closing.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: