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)
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: mchang, Assigned: mchang)
References
Details
(Whiteboard: gfx-noted)
Attachments
(1 file)
1.35 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
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
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8710088 -
Flags: review?(bugmail.mozilla)
Comment 2•9 years ago
|
||
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+
Assignee | ||
Comment 3•9 years ago
|
||
(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.
Assignee | ||
Comment 5•9 years ago
|
||
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.
Description
•