mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #26352 - asajeffrey:webxr-glwindow-red-cyan, r=Manishearth
Add a pref for webxr glwindow anaglyphic red-cyan stereo <!-- Please describe your changes on the following line: --> Allows us to test out 3D content using old-skule glasses. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because it's back end work <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
343f249c1d
5 changed files with 19 additions and 6 deletions
|
@ -297,8 +297,12 @@ mod gen {
|
|||
enabled: bool,
|
||||
#[serde(default)]
|
||||
test: bool,
|
||||
#[serde(default)]
|
||||
glwindow: bool,
|
||||
glwindow: {
|
||||
#[serde(default)]
|
||||
enabled: bool,
|
||||
#[serde(rename = "dom.webxr.glwindow.red-cyan")]
|
||||
red_cyan: bool,
|
||||
},
|
||||
hands: {
|
||||
#[serde(default)]
|
||||
enabled: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue