Compiling OSMesa as a WASI module?

Aviv Giladi <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CABv2_RL1agXeXUaqLYkErXUPG=rr5gemsRaNKnwY98y4L7Ly4w@mail.gmail.com>
I've successfully compiled OSMesa on windows with MSVC (cl).

My end goal is to do software 3D rendering on a bare bone architecture -
WASI (WASM system. interface, no threads, etc., with ms-extensions, built
with llvm/clang-cl).

Looking at the mesa code, it seems like it assumes (as one example) that
threads are available (used for mutexes at the very least).

Am I really far off and there's fundamental assumptions mesa makes that
would never allow it to compile as WASI? Or is it worth spending the time
to try and modify some of the header / play around with the codebase to
make it compilable for WASI?

Thanks!

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.