Re: OpenGL support in GTK+



On 9/19/03 8:13, "Naofumi Yasufuku" <naofumi yasufuku net> wrote:

> Hi, I'm a maintainer of GtkGLExt.
> 
> On 9/18/03 23:23, "Jeff Franks" <jcf tpg com au> wrote:
> 
>> Josh Beam wrote:
>> 
>>> On Wed, Sep 17, 2003 at 04:38:37PM -0400, Havoc Pennington wrote:
>>>  
>>> 
>>> GtkGLExt might be what you're thinking of. But, like Owen said in
>>> Bug 119189, it doesn't really fit into the GTK+ model very well.
>>>  
>>> 
>> This is untrue. GtkGLExt does fit in with the GTK+ 2.0 model. Having
[snip]
> 
> About the "idiosynchratic scheme" Owen said (adding extra gtk_widget_*()
> functions), this is why I decided to use such approach...
> 
> 1. GtkDrawingArea can be used for OpenGL rendering, and no additional widget
>  is needed (see low-level.c example in GtkGLExt source). GtkDrawingArea is
>  "a widget for custom user interface elements".
> 
> 2. For glade and libglade, new custom widget cannot be used until glade
>  supports it.
> 
> 3. I'm lazy ;-p
> 
[snip]
> 
> Anyway, I don't mind adding new GtkGLDrawingArea or something if GTK+ people
> likes it.
> 
> I'm just working for new GtkGLExt-2.0 API. If GdkGLExt can be integrated
> into GDK, I can work on it instead of GtkGLExt-2.0.
> 

I'm working for providing well-defined, flexible, multi-platform OpenGL
extension API to GDK and GTK+. Much help is needed to achive this purpose.

As Owen and Josh said, current GtkGLExt-1.0 API has some add-on functions
which are awkward hacks for convenience. But they are just helper functions
to work closely with standard GDK/GTK+ and related libraries such as
libglade. Essential part of GtkGLExt (GdkGLConfig, GdkGLDrawable,
GdkGLWindow, etc.) really fit into the GDK/GTK+ manner. I'm sure that
current 1.0 API is not complete solution (I think best solution is
integrating GdkGLExt into GDK). I'll be willing to change current API in new
GtkGLExt-2.0 if people want.

So please tell me your opinion. Much help is wanted.

  http://gtkglext.sourceforge.net/

(Should GtkGLExt be developed on cvs.gnome.org?)

Regards,
--Naofumi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]