Re: New GDK port: OpenGL



On Mon, 13 Aug 2001, Derek Simkowiak wrote:

> -> gdk/X, (e.g. wide dashed ellipses) so you'd have to implement a lot of 
> -> code for this. OpenGL also has very bad screen reading performance.
> 
> 	If we're using SDL to get input and get drawables, then we'll have
> access to all the SDL drawables functions, window handling rountines
> (SDL_WM_*()), and cursor handling.  That should reduce the amount of work,
> no?

I haven't looked at SDL in detail, but since it is targeted towards games 
I hardly believe it has all the rasterization features of X.
 
> -> > 3. What kind of timeframe should be expected?  Can this be done in 40
> -> > hours?
> -> No. I'd expect several months work.
> 
> 	That long?  Ugh... I didn't think it'd be that difficult; it seems
> like just a couple weeks of mapping Gdk's structs to SDL's structs and
> replace X functions with the SDL equivalents... but I'm not sure how close
> that mapping is.

You need to implement the full X interface, including all event and window 
handling. That is a fair amount of code, although you may be able to reuse 
some GtkFB code...
 
> 	I'll take a look at the GDK source, but this probably means I'll
> drop the idea.  I don't have time for something that big right now.

Heh. Don't let me scare you off.

/ Alex






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