Closed
Bug 889515
Opened 12 years ago
Closed 12 years ago
Get rid of sCurrentCompositor
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
(Whiteboard: [e10s])
Attachments
(1 file)
17.40 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
This breaks down when we have multiple windows.
Attachment #770337 -
Flags: review?(nical.bugzilla)
Comment 1•12 years ago
|
||
Comment on attachment 770337 [details] [diff] [review]
Get rid of sCurrentCompositor
Review of attachment 770337 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/ipc/CompositorParent.cpp
@@ +680,5 @@
> +void
> +CompositorParent::NotifyChildCreated(uint64_t aChild)
> +{
> + sIndirectLayerTrees[aChild].mParent = this;
> +}
Nit: Why not just put this line in RecvNotifyChildCreated ?
Attachment #770337 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Nicolas Silva [:nical] from comment #1)
> Comment on attachment 770337 [details] [diff] [review]
> Get rid of sCurrentCompositor
>
> Review of attachment 770337 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: gfx/layers/ipc/CompositorParent.cpp
> @@ +680,5 @@
> > +void
> > +CompositorParent::NotifyChildCreated(uint64_t aChild)
> > +{
> > + sIndirectLayerTrees[aChild].mParent = this;
> > +}
>
> Nit: Why not just put this line in RecvNotifyChildCreated ?
Because the CrossProcessCompositorParent needs a function to call, I thought calling the RecvNotifyChildCreated version would be weird. The Recv*** functions are normally only called from auto-generated IPDL code.
Comment 3•12 years ago
|
||
ok, works for me
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/a66fa3d6f6cb - 10.6 says (https://tbpl.mozilla.org/php/getParsedLog.php?id=25204404&tree=Mozilla-Inbound) "Assertion failure: lm->GetBackendType() == LAYERS_CLIENT, at ../../../layout/ipc/RenderFrameParent.cpp:608"
Comment 6•12 years ago
|
||
Other platforms did eventually chip in, including opt crashes in browser-chrome, it was just that 10.6 was firstest and most thorough about failing.
Assignee | ||
Comment 7•12 years ago
|
||
Assignee: nobody → matt.woodrow
Backed out for bc bustage on OSX: http://hg.mozilla.org/integration/mozilla-inbound/rev/94e902f5f517
https://tbpl.mozilla.org/php/getParsedLog.php?id=25274228&tree=Mozilla-Inbound
Didn't happen on 10.6, but did on 10.7 and 10.8.
Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•