Skip to content
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

Not portable #2

Open
pcercuei opened this issue Dec 13, 2013 · 7 comments
Open

Not portable #2

pcercuei opened this issue Dec 13, 2013 · 7 comments

Comments

@pcercuei
Copy link

Unfortunately node-openvg is specific to the Raspberry Pi and is currently not portable to other platforms, due to its use of libbcm. It would be great to provide a portable alternative.

@eendeego
Copy link
Owner

Do you have any other platform/architecture in mind ? I would also like to do this, but there aren't many alternatives to the raspberry pi with OpenVG available.

@pcercuei
Copy link
Author

Well all video drivers based on Gallium should be able to use OpenVG. This includes Nouveau, Radeon etc. But I would like to try it on the GCW Zero handheld console (see www.gcw-zero.com), which is Linux-based with a MIPS processor, and uses an open-source Gallium-based video driver (etnaviv). My goal is to allow it to playback HTML5 games.

@eendeego
Copy link
Owner

This is very interesting because it would allow development of other stuff (like node-openvg-canvas) on a desktop/laptop computer with more firepower than the Pi.

Placing this here for future reference:

@pcercuei
Copy link
Author

I started a version based on SDL2, to make it support as much platforms as possible (including the Raspberry Pi).
However, Mesa's OpenVG library does not include the VG utilities: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1240738

@eendeego
Copy link
Owner

FWIW, They are really easy to emulate/shim.

@pcercuei
Copy link
Author

So I added a version based on SDL2: https://github.com/pcercuei/node-openvg
This gives me garbage on my PC with Mesa's implementation of OpenVG, could you try it with your Raspberry Pi?

@piranna
Copy link

piranna commented Feb 7, 2015

Any update on this? I'm interested on using node-openvg-canvas (that uses node-openvg as basis) on NodeOS...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants