Closed Bug 1284324 Opened 8 years ago Closed 8 years ago

[webvr] Implement Canvas Layer Mirrors

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: kip, Assigned: kip)

References

Details

Attachments

(1 file)

- When a canvas layer is set to mirror, it copies the texture from the canvas rather than changing the texture factory with Morph(). - This is useful when a canvas content will be sent to multiple devices simultaneously, such as a VR HMD and a 2d monitor mirror.
Summary: [webvr] Bug 1250244 - Implement Canvas Layer Mirrors → [webvr] Implement Canvas Layer Mirrors
- When a canvas layer is set to mirror, it copies the texture from the canvas rather than changing the texture factory with Morph(). - This is useful when a canvas content will be sent to multiple devices simultaneously, such as a VR HMD and a 2d monitor mirror. - This is used by the WebVR 1.0 API, in Bug 1250244 Review commit: https://reviewboard.mozilla.org/r/62162/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/62162/
Attachment #8767754 - Flags: review?(bgirard)
I am splitting Bug 1250244 into easier to review and land pieces such as this one. Please let me know if another reviewer would be a better choice, thanks!
Comment on attachment 8767754 [details] Bug 1284324 - Implement Canvas Layer mirrors Review request updated; see interdiff: https://reviewboard.mozilla.org/r/62162/diff/1-2/
Attachment #8767754 - Flags: review?(bgirard) → review?(bas)
This patch was originally assigned to :bgirard for review. He suggested that :bas might be a good reviewer. I'd be glad to chat if you need some background on these changes or please let me know if someone else would be better for this review.
Comment on attachment 8767754 [details] Bug 1284324 - Implement Canvas Layer mirrors https://reviewboard.mozilla.org/r/62162/#review59716 This feels a little hacky to me but I don't see any issues with it, and I don't see an obvious way to make it better.
Attachment #8767754 - Flags: review?(bas) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
See Also: → 1297597
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: