Closed
Bug 1287597
Opened 8 years ago
Closed 8 years ago
Fix VRManager to work with the GPU process
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: dvander, Assigned: dvander)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
19.19 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
4.94 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
14.19 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•8 years ago
|
||
More of the same - use Endpoints instead of "opens" in PContent, and make GPUProcessManager responsible for creating the endpoints.
Attachment #8772160 -
Flags: review?(wmccloskey)
Assignee | ||
Comment 2•8 years ago
|
||
This moves VRManager initialization from gfxPlatform to GPUProcessManager.
Attachment #8772283 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 3•8 years ago
|
||
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)
Updated•8 years ago
|
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)
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6f859f324dce
https://hg.mozilla.org/mozilla-central/rev/50a3f84f013e
https://hg.mozilla.org/mozilla-central/rev/04cf459f7fc6
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•