Closed Bug 1138349 Opened 7 years ago Closed 4 years ago

[Meta] Mirror the current content of primary display to the external display in its resolution

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: shelly, Unassigned)

Details

This is the first stage of project "Support multi-screen on FxOS" (bug 1116089).

Our goal here is to mirror the current content of primary display to an external display, the mirrored content should be displayed in the resolution of its connected external device.

In this case, we will not create a new window, either another layer tree, but aim at enabling the 'external'(or virtual) display of hwc, and duplicating the layer list of hwc.
Blocks: 1116089
Blocks: 1138258
No longer blocks: 1116089
Depends on: 1133641
Depends on: 1138287
https://github.com/shellylin/gecko-dev/commit/19417c4af80f6244b30cd53bc96ac98be1a1fa25

This is the first prof of concept for mirroring what is displayed on the primary screen to a connected external display, leveraging the capability of hwc, without traversing our layer tree twice. However, there are still some open issues needed to be address:

- The fence mechanism for this additional layer list.
- Currently, when duping the layer list from primary to external, we skip the FrameBuffer layer, and take the FrameBufferTarget layer of primary to be the FrameBuffer layer of external. Append a FrameBufferTarget layer of its own at the end. However, this hack works if the primary layer list contains only one single FrameBuffer layer, we should reconsider the case where there are multiple FrameBuffer layers in the primary list.
No longer depends on: 1133641
No longer depends on: 1138287
No longer blocks: 1138258
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.