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 #3609 is a reply to message #3608] |
Tue, 06 June 2006 19:48 |
|
cyrion
Messages: 15 Registered: May 2006 Location: Grenoble, France
|
Promising Member |
|
|
luzr wrote on Tue, 06 June 2006 17:59 |
BTW, IMO "UseGLXVisual" could be replaces by existing "BackPaint(EXCLUDEPAINT)".
|
I have just tested BackPaint() but it doesn't work because DoPaint() is still called with a bad X visual
I get things like that :
X Error: BadDrawable (invalid Pixmap or Window parameter), request: X_CreateGC, resource id: 136899272 = 828EAC8
X Error: BadGC (invalid GC parameter), request: X_SetClipRectangles, resource id: 48234558 = 2E0003E
X Error: BadGC (invalid GC parameter), request: X_SetClipRectangles, resource id: 48234558 = 2E0003E
X Error: BadGC (invalid GC parameter), request: X_SetClipRectangles, resource id: 48234558 = 2E0003E
X Error: BadGC (invalid GC parameter), request: X_FreeGC, resource id: 48234558 = 2E0003E
IMHO, instead of using a variable like my dirty UseGLXVisual it would probably be best to take into account the fact that some controls can require special visuals that does not require a Draw object to be created. But I don't know how ! (a kind of BackPaint(3DPAINT) ?)
In the end, I think that Ctrl::Paint() should still be called, but with a 'null/disabled' Draw object in parameter...
|
|
|
|
|
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: Fri Nov 01 01:39:49 CET 2024
Total time taken to generate the page: 0.02324 seconds
|