-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2d #22225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Heads up! This PR modifies the following files:
|
@bors-servo try |
Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2d
💔 Test failed - linux-rel-css |
This should be ready to be reviewed. @bors-servo try |
Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2d <!-- 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/22225) <!-- Reviewable:end -->
💔 Test failed - status-taskcluster |
Unhappy tidy, fixed. |
r? @jdm |
Nothing else uses it in the whole crate graph.
This avoids a copy in the case of textures coming from HTMLImageElement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, with that question. Have you checked any perf numbers out of curiosity? Just wondering what the relative speed is between creating an IPC channel vs. a shared memory thing.
); | ||
let effective_data_type = self | ||
.extension_manager | ||
.effective_type(data_type.as_gl_constant()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why doesn't textSubImage2D need to go through the EM in order to get the effective internal format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was like that before, and using it makes everything panic on the GL side.
@bors-servo r=emilio |
📌 Commit 9a8d03a has been approved by |
Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2d <!-- 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/22225) <!-- Reviewable:end -->
☀️ Test successful - android, android-mac, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, magicleap, status-taskcluster, windows-msvc-dev |
This change is