> In article <[EMAIL PROTECTED]>, > stanley <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have a problem in drawing opengl in Gentoo linux. > > > > My requirement is I want to draw a simple 2D using normal fltk window, > > > > I did this in windows(OS) in two different methods but the problem is with > > linux. > > 1.Get the window handle, Get device context and rendering context, > > set pixel format and start drawing. > > 2.Using glstart() and glFinish(). > > I can't help with fltk2, but I don't like glstart/finish in general. > > But I assume you have a good answer to the following: > > - Do the gl demos work? > - Why don't use the fltk drawing api? > - Why don't use a GL window? > - Why don't use a GL window inside a normal window? >
Thanks for your reply, I made glstart/glfinish to work in gentoo linux. Actually I want to draw 2d in gentoo linux for a small embedded board, AMD Geode. This hardware is not suporting glX commands and 3d drawings.Since glWindow uses GLUT and glx commands i could not use it. I am new to fltk and linux. 1.gl demos did not work. Only demos that uses fltk drawing API's are running.(e.g) Curves in the fltk demo. 2.can we render a texture using fltk drawing api's and draw over the texture and can we import the drawing commands from a dll. bcoz I need these two to work.I am just trying that. 3.gl window uses glx command. 4.The error i get when i use glwindow or any glx command is. XopenIM() fail. XLib: Extension "GLX" missing on display ":0.0" Insufficient GL support 5.Even when i run the demos with fltk drawing API's i get XopenIM() fail, but the application runs. I think Xlib and GLX are missing. I could see the "load glx" and "load dri" lines are commented. I tried uncommenting it, but no luck. please help thanks stanley _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
