Page 1 of 1

Framebuffer with Common Lisp

PostPosted: Sat Dec 26, 2009 8:26 pm
by schoppenhauer
I have an old ThinClient which crashes when running XDMCP. There is one VNC-Client for the Framebuffer, but it has strange Keybindings. So - since I wanted to get familiar with this protocol anyway - I will maybe try to write a VNC-Client in Common Lisp.

My question is if there is any Binding for DirectFB already or any other possibility (except using POSIX directly) for writing to the Framebuffer. How about lispbuilder-sdl? Has anybody yet tried this? What CL-Compiler would you recommend?

Re: Framebuffer with Common Lisp

PostPosted: Sun Dec 27, 2009 1:20 am
by Balooga
It seems directFB is supported as a backend by SDL, so it should be supported by lispbuilder-sdl.

You will most likely have to write a couple of routines in C to compose the remote VNC images onto a SDL surface. Performing this kind of operation in Lisp is not efficient as each pixel write goes through the CFFI.

- Luke