Closed Bug 1570771 (gfx-ipdl-refcounted) Opened 7 years ago Closed 6 months ago

Use IPDL refcounted for graphics-related actors

Categories

(Core :: Graphics, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: nika, Assigned: sotaro)

References

(Blocks 1 open bug)

Details

Graphics related actors, such as PLayerTransaction and PWebRenderBridge, are reference counted on both sides. With native IPDL support, some boilerplate around them can be removed.

Unfortunately PLayerTransaction and PWebRenderBridge currently perform non-Release actions in their DestroyPFoo methods. These operations should instead be performed in ActorDestroy, allowing the types to be natively refcounted.

It may also make sense to update uses of mIPCOpen to instead use the built-in IPDL CanSend() method.

Sotaro, can you look at this when you get some free time?

Flags: needinfo?(sotaro.ikeda.g)

Yes, I am going to work for it.

Assignee: nobody → sotaro.ikeda.g
Flags: needinfo?(sotaro.ikeda.g)
Depends on: 1676835
Blocks: 1651053
No longer blocks: 1651053
No longer depends on: 1676835
Depends on: 1676835
Severity: normal → S3
Alias: gfx-ipdl-refcounted
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.