Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upVarious webgl fixes for framebuffer attachment test #21461
Conversation
highfive
commented
Aug 20, 2018
|
Heads up! This PR modifies the following files:
|
|
r? @nox |
|
@bors-servo r+ |
|
|
Various webgl fixes for framebuffer attachment test These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR <!-- 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/21461) <!-- Reviewable:end -->
|
|
|
@bors-servo test-wpt |
|
@bors-servo try=wpt |
Various webgl fixes for framebuffer attachment test These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR <!-- 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/21461) <!-- Reviewable:end -->
|
|
|
Need to look at:
|
| @@ -1091,6 +1172,63 @@ impl WebGLImpl { | |||
| assert_eq!(error, gl::NO_ERROR, "Unexpected WebGL error: 0x{:x} ({})", error, error); | |||
| } | |||
|
|
|||
| #[allow(unsafe_code)] | |||
This comment has been minimized.
This comment has been minimized.
| @@ -200,6 +200,7 @@ pub struct WebGLRenderingContext { | |||
| current_scissor: Cell<(i32, i32, i32, i32)>, | |||
| #[ignore_malloc_size_of = "Because it's small"] | |||
| current_clear_color: Cell<(f32, f32, f32, f32)>, | |||
| #[ignore_malloc_size_of = "Because it's small"] | |||
This comment has been minimized.
This comment has been minimized.
|
The following expectations reference #13710:
AFAICT they are not all changed in your PR. Could you reenable them? Looks good to me otherwise, r=me. |
|
@bors-servo r=nox |
|
|
Various webgl fixes for framebuffer attachment test These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR - [x] Fixes #13710. Fixes #20570. <!-- 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/21461) <!-- Reviewable:end -->
|
|
|
@jdm Could you disable the tests about uninitialised buffers again and make this land? |
|
@bors-servo r=nox |
|
|
Various webgl fixes for framebuffer attachment test These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR - [x] Fixes #13710. Fixes #20570. <!-- 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/21461) <!-- Reviewable:end -->
|
|
|
@bors-servo retry
|
Various webgl fixes for framebuffer attachment test These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR - [x] Fixes #13710. Fixes #20570. <!-- 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/21461) <!-- Reviewable:end -->
|
|
jdm commentedAug 20, 2018
•
edited
These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is