Repository navigation
Add Servo3D immersive demo for magicleap - #23546
Conversation
|
Heads up! This PR modifies the following files:
|
|
Sigh, dupes: |
|
Deduped. Thanks @Eijebong! |
|
r? @Manishearth |
Manishearth
left a comment
There was a problem hiding this comment.
r=me, haven't looked too closely at the cpp but it seems fine.
125b20d to
cdd6f3b
Compare
|
📌 Commit cdd6f3b has been approved by |
…shearth Add Servo3D immersive demo for magicleap <!-- Please describe your changes on the following line: --> An immersive mode demo for magicleap. --- <!-- 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 (apart from dupes, sigh) - [X] These changes fix #22402 (GitHub issue number if applicable) - [X] These changes do not require tests because it's a new platform <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23546) <!-- Reviewable:end -->
|
@bors-servo r=Manishearth |
|
📌 Commit 76016cc has been approved by |
…hearth Add Servo3D immersive demo for magicleap <!-- Please describe your changes on the following line: --> An immersive mode demo for magicleap. --- <!-- 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 (apart from dupes, sigh) - [X] These changes fix #22402 (GitHub issue number if applicable) - [X] These changes do not require tests because it's a new platform <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23546) <!-- Reviewable:end -->
|
💔 Test failed - status-taskcluster |
|
In Android ARM build: error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> ports/libsimpleservo/jniapi/src/lib.rs:109:44
|
109 | gl_glue::egl::init().and_then(|gl| simpleservo::init(opts, gl, wakeup, callbacks))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error[E0560]: struct `simpleservo::InitOptions` has no field named `vr_pointer`
--> ports/libsimpleservo/jniapi/src/lib.rs:699:9
|
699 | vr_pointer: if vr_pointer.is_null() {
| ^^^^^^^^^^ `simpleservo::InitOptions` does not have this field
|
= note: available fields are: `args`, `url`, `coordinates`, `density`, `embedder_callbacks`, `enable_subpixel_text_antialiasing`
error: aborting due to 2 previous errorsIn Linux Tidy and Windows build: + ./mach build --dev --libsimpleservo
Downloading crates ...
Downloaded cbindgen v0.8.0
Compiling simpleservo v0.0.1 (/repo/ports/libsimpleservo/api)
Compiling rust-webvr v0.11.4
Compiling cbindgen v0.8.0
Compiling webvr v0.0.1 (/repo/components/webvr)
Compiling compositing v0.0.1 (/repo/components/compositing)
Compiling simpleservo_capi v0.0.1 (/repo/ports/libsimpleservo/capi)
Compiling canvas v0.0.1 (/repo/components/canvas)
Compiling constellation v0.0.1 (/repo/components/constellation)
Compiling libservo v0.0.1 (/repo/components/servo)
error[E0560] : struct `simpleservo::InitOptions` has no field named `vr_pointer`
--> ports/libsimpleservo/capi/src/lib.rs:99:9
|
99 | vr_pointer: if opts.vr_pointer.is_null() {
| ^^^^^^^^^^ `simpleservo::InitOptions` does not have this field
|
= note : available fields are: `args`, `url`, `coordinates`, `density`, `embedder_callbacks`, `enable_subpixel_text_antialiasing`
error[E0061] : this function takes 3 parameters but 4 parameters were supplied
--> ports/libsimpleservo/capi/src/lib.rs:110:5
|
110 | simpleservo::init(opts, gl, wakeup, callbacks).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error : aborting due to 2 previous errors
Some errors have detailed explanations: E0061, E0560.
For more information about an error, try `rustc --explain E0061`.
error: Could not compile `simpleservo_capi`. |
|
Yeah, my changes to libsimpleservo didn't get reflected in the other embeddings. |
…hearth Add Servo3D immersive demo for magicleap <!-- Please describe your changes on the following line: --> An immersive mode demo for magicleap. --- <!-- 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 (apart from dupes, sigh) - [X] These changes fix #22402 (GitHub issue number if applicable) - [X] These changes do not require tests because it's a new platform <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23546) <!-- Reviewable:end -->
9c9b677 to
010eff2
Compare
|
Hmm, the build never finished, let's try again.@bors-servo r=Manishearth |
|
📌 Commit 010eff2 has been approved by |
Add Servo3D immersive demo for magicleap <!-- Please describe your changes on the following line: --> An immersive mode demo for magicleap. --- <!-- 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 (apart from dupes, sigh) - [X] These changes fix #22402 (GitHub issue number if applicable) - [X] These changes do not require tests because it's a new platform <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23546) <!-- Reviewable:end -->
|
I think I fixed those in the most recent force-push. |
010eff2 to
0b48ff4
Compare
|
And that last fix broke test-tidy. Of course it did. @bors-servo r=Manishearth |
|
📌 Commit 0b48ff4 has been approved by |
|
@bors-servo try- |
…hearth Add Servo3D immersive demo for magicleap <!-- Please describe your changes on the following line: --> An immersive mode demo for magicleap. --- <!-- 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 (apart from dupes, sigh) - [X] These changes fix #22402 (GitHub issue number if applicable) - [X] These changes do not require tests because it's a new platform <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23546) <!-- Reviewable:end -->
|
☀️ Test successful - arm64, linux-rel-css, linux-rel-wpt, status-taskcluster |
An immersive mode demo for magicleap.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors (apart from dupes, sigh)This change is