From: Kalyanov Dmitry kalyanov.dmitry@gmail.com To: cl-opengl-devel@common-lisp.net Date: Tue, 10 Aug 2010 19:50:44 +0400 Subject: Re: [cl-opengl-devel] cl-opengl in a standard X-window based canvas widget ? On Tuesday 10 August 2010 19:13:48, Kevin Smith wrote:
Has anyone used cl-opengl inside a standard X-window based drawing widget (one that supports simple refresh and input event call backs ) ?
I am interested in bypassing GLUT (which I currently use) and using another lisp-based toolkit, potentially mcclim. I would like to continue using cl-opengl, though because I like it's interface.
I am assuming that if I have a low-level window , I can create an OpenGL context for it and the cl-opengl binding would just work.
Correct. lispbuilder-sdl is used with cl-opengl in this way. The example below shows lispbuilder-sdl creating the OpenGL context. http://article.gmane.org/gmane.lisp.cl-lispbuilder.general/648 -Luke
cl-opengl-devel@common-lisp.net