[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] double-buffering and back buffer preservation

----- Original Message -----
> Another use case to consider: Option #2 would allow applications to
> use WebWorkers for mutitheaded work that is used in rendering. Say I
> want to:

Well, no, it wouldn't -- there's no way to create a WebGL context in a worker (or any other DOM object), and there's no way to pass a WebGL context to a worker.

In the future, assuming a way was added to create a WebGL context on a worker, the way you'd want to do this is with two contexts that share resources, one being a purely offscreen worker context and one being an on-screen main thread context.

    - Vlad
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: