ReneHollander / node-canvas

Node canvas is a Cairo backed Canvas implementation for NodeJS.
www.automattic.com
3 stars 1 forks source link

Unified gyp for canvas #8

Closed piranna closed 9 years ago

piranna commented 9 years ago

I've clean-up the backend classes and its API so most functionality is already done on the Backend class. Also I've added support to change resolution of FBDev and now both FBDev and X11 initialize their structures on the constructor instead of each time the surface is (re)created, so now it's done faster.

piranna commented 9 years ago

I've merged the latest upstream code with my changes and they are working, you can pick them and continue working from there :-)

piranna commented 9 years ago

Cool, thanks! :-)

ReneHollander commented 9 years ago

The simple_x11.js example is not working for me now. The window just stays black...

ReneHollander commented 9 years ago

But the animated_clock example works. Wierd...

piranna commented 9 years ago

That's just the problem I had. If you copy the clock sphere code it works. Seems it's being drawn inside the clock sphere routine, there's something wrong there...