Hi Greg,

Yes, it's possible, the LXJS tweetwall (
https://github.com/luismreis/lxjs-tweetwall) app does precisely that for
fetching avatars as you can see on
https://github.com/luismreis/lxjs-tweetwall/blob/master/lib/image-manager.js
.

Currently you have to explicitly destroy the image on the GPU (you can se
the code for that on the same file), but steps are being taken to make that
work with the GC. Tip: Even if at some point in the future the garbage
collector is used to destroy these resources, it will always be more
effective/performing to do it by hand.

Cheers,

Luis
-- 



On Wed, Sep 4, 2013 at 5:16 PM, Greg Braman <[email protected]> wrote:

> Hi all,
>
> Quick question. Can I use openvg-canvas to load a remote *.js file over
> http? I would like to dynamically update the canvas with images that are
> added on-the-fly, and would like to load the javascript from a web
> application instead of locally (I want to leverage the hardware
> acceleration of openvg-canvas because the browser canvas is too slow). Do
> you know if this is possible?
>
> Thanks.
>
>
> On Saturday, 20 October 2012 20:45:22 UTC-4, Luis Reis wrote:
>>
>> Hi all,
>>
>> I've just published on npm the openvg-canvas module. It allows you to use
>> the Raspberry Pi's GPU as a HTML5 Canvas. It works on top of OpenVG which,
>> I believe, is also available on android.
>>
>> Current code, details and implementation status are available on
>> https://github.com/**luismreis/node-openvg-canvas<https://github.com/luismreis/node-openvg-canvas>
>> .
>>
>> This library was used to power the LXJS tweetwall and although it isn't
>> complete it is already very usable. It supports truetype fonts via freetype
>> (currently only dejavu fonts which are bundled on the raspbian
>> distribution) and images through FreeImage.
>>
>> Comments and contributions are appreciated.
>>
>> Cheers,
>> Luis Reis
>> --
>>
>>
>>   --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to