Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-06 Thread Jon Harrop
On Wednesday 05 March 2008 13:03:04 Behdad Esfahbod wrote: On Tue, 2008-03-04 at 19:37 +, Jon Harrop wrote: I'm not sure who you are referring to as we but many people need little beyond GlArea. I have no desire to create Gtk-compatible widgets. I only want to render general graphics

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-06 Thread Emmanuele Bassi
On Wed, 2008-03-05 at 20:08 +, Jon Harrop wrote: If anyone is interested in improving the situation for scientists and engineers then I would recommend taking this into account: keep it simple to bind. you can't really get much simpler than a: GLXContext gl_context;

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-06 Thread Jon Harrop
On Thursday 06 March 2008 14:55:13 Emmanuele Bassi wrote: GdkGLContext * gdk_gl_create_context (GdkDrawable *drawable, guint *gl_attributes); and, if the cached GdkGLContext gl_attributes are different than the passed ones (with NULL meaning use the

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-05 Thread Jon Harrop
On Tuesday 04 March 2008 18:14:39 Behdad Esfahbod wrote: On Tue, 2008-03-04 at 17:04 +, Carlos Pereira wrote: 2) change the name, for example to Gtkglarea 2.0*, the legitimate sucessor to Gtkglarea 1 (the last version of Gtkglarea that I downloaded last week is 1.99 and still comes with

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-05 Thread Emmanuele Bassi
On Tue, 2008-03-04 at 19:37 +, Jon Harrop wrote: 2) change the name, for example to Gtkglarea 2.0*, the legitimate sucessor to Gtkglarea 1 (the last version of Gtkglarea that I downloaded last week is 1.99 and still comes with gtk_signal_connect and other Gtk 1.2* functions

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-05 Thread Carlos Pereira
Jon Harrop wrote: On Tuesday 04 March 2008 18:14:39 Behdad Esfahbod wrote: On Tue, 2008-03-04 at 17:04 +, Carlos Pereira wrote: 2) change the name, for example to Gtkglarea 2.0*, the legitimate sucessor to Gtkglarea 1 (the last version of Gtkglarea that I downloaded last week is

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-05 Thread Jon Harrop
On Wednesday 05 March 2008 18:37:22 Carlos Pereira wrote: I just ported my app (more than 200,000 lines, totally independent and unlimited number of OpenGL areas, sharing pre-compiled OpenGL lists, etc.) last night from Gtkglarea to Gtkglext, so I am in a good position to highlight the

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-04 Thread Carlos Pereira
Mikael Hallendal wrote: 3 mar 2008 kl. 22.48 skrev Carlos Pereira: Hi Carlos, GtkGLext seems to be the most popular GL Area to use these days. You might also want to look at Clutter [1] or Pigment [2] which are canvases offering some higher level abstractions for 2D/3D usages. It

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-04 Thread Mikael Hallendal
4 mar 2008 kl. 19.14 skrev Behdad Esfahbod: Hi, On Tue, 2008-03-04 at 17:04 +, Carlos Pereira wrote: I have red a few times that thread, that Owen started five years ago, and apparently there is agreement in the essentials: 1) remove all the fat from Gtkglext, namely the wrapper

OpenGL, GtkGlArea, GtkGLExt

2008-03-03 Thread Carlos Pereira
Hi, What is the currently recommended way to link GTK with OpenGL graphic areas? GtkGLarea? GtkGLext? other? What are the future plans for GTK regarding OpenGL? is GTK planning to support OpenGL directly without need for another library? I am not particularly interested in fancy arbitrary

Re: OpenGL, GtkGlArea, GtkGLExt

2008-03-03 Thread Mikael Hallendal
3 mar 2008 kl. 22.48 skrev Carlos Pereira: Hi Carlos, GtkGLext seems to be the most popular GL Area to use these days. You might also want to look at Clutter [1] or Pigment [2] which are canvases offering some higher level abstractions for 2D/3D usages. It depends a bit on what you need,