Giter Site home page Giter Site logo

Remoting layer about wgpu HOT 4 CLOSED

gfx-rs avatar gfx-rs commented on May 18, 2024
Remoting layer

from wgpu.

Comments (4)

kvark avatar kvark commented on May 18, 2024 1

No, the native part doesn't need to know about remoting (I hope!).
We can start it by just sending messages across ipc_channel. One of the first steps would be to send over whole passes instead of individual commands.

from wgpu.

grovesNL avatar grovesNL commented on May 18, 2024

What would the remoting layer need to contain to support this? Does wgpu-native need to be aware whether IPC is being used?

from wgpu.

kvark avatar kvark commented on May 18, 2024

(copied from gitter) The way I see it working is:

  • wgpu-remote will create client and server parts, linked by an actual IPC channel (or multiple of them - up to implementation details)
  • the client side will expose C-API entry points to be called by Gecko bindings (on script/content side). These can actually match the APIs we expose to native, which is kinda weirdly need but not required.
  • the server side will listen for IPC and do actual calls into wgpu-native

from wgpu.

kvark avatar kvark commented on May 18, 2024

The infrastructure is there. It's up for discussion and changes, but it's no longer in the theoretical stage.

from wgpu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.