Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » An OpenGL ctrl for Linux / X11
Re: An OpenGL ctrl for Linux / X11 [message #3622 is a reply to message #3578] |
Thu, 08 June 2006 07:00 |
|
cyrion
Messages: 15 Registered: May 2006 Location: Grenoble, France
|
Promising Member |
|
|
Hi,
I checked on windows to see how it works. I'm not sure, but I think that BackPaint(EXCLUDEPAINT) does the job for Windows, but not exactly in the same manner for Linux because the GC is always created.
While using BackPaint(EXCLUDEPAINT), my problem disappear only if I don't call the inherited EventProc() of Ctrl in my OpenGLCtrl::EventProc, but in this case Frames are never painted !
I run out of ideas.
In addition, a desirable feature would be that Ctrl objects (at least GL ctrls) receive a 'POSITION' event. Currently I have to watch for a modification of the widget position each time Paint is called, which slows down rendering.
BTW, the windows version of the gl ctrl does not handle displacements of the ctrl. For instance, try to use win.Add( gl.BottomPos( 0, 120).RightPos( 0, 120 ));
In the attached file I put a small app using the new version of the Ctrl. It now handles multiples GL widgets on the same app automatically.
Damien.
|
|
|
|
|
An OpenGL ctrl for Linux / X11
By: cyrion on Fri, 02 June 2006 18:40
|
|
|
[EDIT] An OpenGL ctrl for Linux / X11
By: cyrion on Sat, 03 June 2006 12:36
|
|
|
Re: [EDIT] An OpenGL ctrl for Linux / X11
By: mirek on Mon, 05 June 2006 10:57
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Tue, 06 June 2006 16:02
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: mirek on Tue, 06 June 2006 17:59
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Tue, 06 June 2006 19:48
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: mirek on Tue, 06 June 2006 22:46
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Thu, 08 June 2006 07:00
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: mirek on Fri, 09 June 2006 14:39
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Fri, 09 June 2006 18:01
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: h3l1 on Mon, 02 October 2006 18:14
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: mirek on Mon, 02 October 2006 19:35
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Mon, 02 October 2006 20:08
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: h3l1 on Fri, 06 October 2006 15:47
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Fri, 17 November 2006 01:46
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: h3l1 on Mon, 20 November 2006 14:18
|
|
|
Re: An OpenGL ctrl for Linux / X11
By: cyrion on Mon, 20 November 2006 21:56
|
Goto Forum:
Current Time: Sun May 05 15:28:19 CEST 2024
Total time taken to generate the page: 0.02608 seconds
|