Repository navigation
Fix immersive mode panic on three.js rollercoaster on hololens - #24242
Conversation
|
Heads up! This PR modifies the following files:
|
|
r? @asajeffrey |
asajeffrey
left a comment
There was a problem hiding this comment.
I'm a bit uncomfortable that this is causing panic, since AFAICT all of the original code could be replicated in user WebGL. That said, this is a definite improvement. @bors-servo r+
|
Ah, does bors not listen to review comments? @bors-servo r+ |
|
📌 Commit 38351d5 has been approved by |
Fix immersive mode panic on three.js rollercoaster on hololens We have some special logic about texture formats when creating drawing buffers for WebGL that needs to be shared with the code that creates a separate framebuffer for immersive mode. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24083 (GitHub issue number if applicable) - [x] These changes do not require tests because no CI for hololens; tested manually in the emulator. <!-- 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/24242) <!-- Reviewable:end -->
|
That's a good point. I should put together some testcases to experiment; filed #24244 to do that. |
|
💔 Test failed - linux-rel-css |
38351d5 to
f6727ed
Compare
f6727ed to
4edec82
Compare
|
@bors-servo try=wpt |
Fix immersive mode panic on three.js rollercoaster on hololens We have some special logic about texture formats when creating drawing buffers for WebGL that needs to be shared with the code that creates a separate framebuffer for immersive mode. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24083 (GitHub issue number if applicable) - [x] These changes do not require tests because no CI for hololens; tested manually in the emulator. <!-- 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/24242) <!-- Reviewable:end -->
|
r? @asajeffrey The addition of RGB to the framebuffer completion checks exposed some additional implementation holes which were easy enough to clean up while I was investigating them. |
d65be06 to
368e030
Compare
| expected: FAIL | ||
|
|
||
| [WebGL test #82: getError expected: INVALID_OPERATION. Was NO_ERROR : IMPLEMENTATION_COLOR_READ_FORMAT should fail for incomplete framebuffers.] | ||
| expected: FAIL |
|
@bors-servo retry |
1 similar comment
|
@bors-servo retry |
|
@bors-servo r- |
|
@bors-servo r=nox,asajeffrey |
|
📌 Commit ce12723 has been approved by |
|
@bors-servo r- |
|
@bors-servo r=asajeffrey,nox |
|
📌 Commit ea715a7 has been approved by |
Fix immersive mode panic on three.js rollercoaster on hololens We have some special logic about texture formats when creating drawing buffers for WebGL that needs to be shared with the code that creates a separate framebuffer for immersive mode. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24083 and fix #20595. - [x] These changes do not require tests because no CI for hololens; tested manually in the emulator. <!-- 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/24242) <!-- Reviewable:end -->
|
💔 Test failed - status-taskcluster |
|
@bors-servo retry |
Fix immersive mode panic on three.js rollercoaster on hololens We have some special logic about texture formats when creating drawing buffers for WebGL that needs to be shared with the code that creates a separate framebuffer for immersive mode. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24083 and fix #20595. - [x] These changes do not require tests because no CI for hololens; tested manually in the emulator. <!-- 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/24242) <!-- Reviewable:end -->
|
☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster |
We have some special logic about texture formats when creating drawing buffers for WebGL that needs to be shared with the code that creates a separate framebuffer for immersive mode.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is