-
Notifications
You must be signed in to change notification settings - Fork 953
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
remote: handle IPC on Windows #146
Comments
If you don't need to do that, and it's fine doing all IPC through Tokio, it should suffice as is. I've run into some performance/scheduling limitations due to Tokio/Windows impedance mismatches and am halfway through a solution, but the performance may already be sufficient for your needs. I'm also moving the MacOS implementation to use mach IPC like |
Another thing - https://github.com/NikVolf/parity-tokio-ipc
Could you clarify how this would be done? Perhaps, point me to an example, if possible. |
I finished the round of investigations on IPC. We are going to use Gecko's standard IPC mechanism called IPDL. The client side will be serializing commands and data into a raw The good news is that this is precisely what WebRender does today! So we aren't going to invent new ways of IPC communication, and any follow-up improvements to Gecko infrastructure would benefit us automatically. As for the I'll be prototyping this solution shortly in Gecko and follow-up with the code changes here. |
358: Remove all the IPC r=grovesNL a=kvark Closes #146 Closes #22 We have decided to use Gecko IPC for Firefox. `wgpu-remote` will therefore provide all the Rust glue that Gecko needs for client and server: - initialization/termination of client/server - ID management for the client - pass encoding blobs In Servo, we'd need to enable `serde` feature of `wgpu-native` and potentially roll out a different remoting crate that would establish a protocol based on `ipc-channel`, as we wanted originally. Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
358: Remove all the IPC r=grovesNL a=kvark Closes #146 Closes #22 We have decided to use Gecko IPC for Firefox. `wgpu-remote` will therefore provide all the Rust glue that Gecko needs for client and server: - initialization/termination of client/server - ID management for the client - pass encoding blobs In Servo, we'd need to enable `serde` feature of `wgpu-native` and potentially roll out a different remoting crate that would establish a protocol based on `ipc-channel`, as we wanted originally. Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
358: Remove all the IPC r=grovesNL a=kvark Closes #146 Closes #22 We have decided to use Gecko IPC for Firefox. `wgpu-remote` will therefore provide all the Rust glue that Gecko needs for client and server: - initialization/termination of client/server - ID management for the client - pass encoding blobs In Servo, we'd need to enable `serde` feature of `wgpu-native` and potentially roll out a different remoting crate that would establish a protocol based on `ipc-channel`, as we wanted originally. Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
358: Remove all the IPC r=grovesNL a=kvark Closes #146 Closes #22 We have decided to use Gecko IPC for Firefox. `wgpu-remote` will therefore provide all the Rust glue that Gecko needs for client and server: - initialization/termination of client/server - ID management for the client - pass encoding blobs In Servo, we'd need to enable `serde` feature of `wgpu-native` and potentially roll out a different remoting crate that would establish a protocol based on `ipc-channel`, as we wanted originally. Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
259: Remove zerocopy and replace with bytemuck. r=kvark a=StarArawn fixes gfx-rs#146 I've removed `zerocopy` from the examples and replaced it with `bytemuck`. I ran all of the examples/tests and everything ran great in vulkan on my windows box. Co-authored-by: StarToaster <startoaster23@gmail.com>
…xt (gfx-rs#146) * Make no interpolation mean default or nothing, depending on context * Re-add Interpolation::Perspective
Custom styling
We need to consider some options to support IPC on Windows. The crate which is currently being used https://github.com/servo/ipc-channel states in the README that Windows is not supported yet.
Relevant PRs/issues:
servo/ipc-channel#166
servo/ipc-channel#108
servo/ipc-channel#118
The text was updated successfully, but these errors were encountered: