Closed Bug 1287597 Opened 8 years ago Closed 8 years ago

Fix VRManager to work with the GPU process

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: dvander, Assigned: dvander)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

This will be very similar to bug 1287366. It's not strictly needed for the prototype, but I'm including it because a bunch of compositor code expects the VR module to be initialized.
More of the same - use Endpoints instead of "opens" in PContent, and make GPUProcessManager responsible for creating the endpoints.
Attachment #8772160 - Flags: review?(wmccloskey)
This moves VRManager initialization from gfxPlatform to GPUProcessManager.
Attachment #8772283 - Flags: review?(matt.woodrow)
This refactors VRManager{Child|Parent} initialization so it can bridge to the GPU process. This is very similar to the ImageBridge and CompositorBridge patches. This also makes sure the VRManager is instantiated in the GPU process.
Attachment #8772285 - Flags: review?(wmccloskey)
Attachment #8772283 - Flags: review?(matt.woodrow) → review+
Comment on attachment 8772160 [details] [diff] [review] part 1, use endpoints Review of attachment 8772160 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/ipc/GPUProcessManager.cpp @@ +431,5 @@ > + gfxCriticalNote << "Could not create content compositor bridge: " << hexa(int(rv)); > + return false; > + } > + > + if (!VRManagerParent::CreateForContent(Move(parentPipe))) Need braces.
Attachment #8772160 - Flags: review?(wmccloskey) → review+
Attachment #8772285 - Flags: review?(wmccloskey) → review+
Pushed by danderson@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6f859f324dce Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm) https://hg.mozilla.org/integration/mozilla-inbound/rev/50a3f84f013e Move VRManagerChild initialization to GPUProcessManager. (bug 1287597 part 2, r=mattwoodrow) https://hg.mozilla.org/integration/mozilla-inbound/rev/04cf459f7fc6 Add VRManager support to the GPU process. (bug 1287597 part 3, r=billm)
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: