Re: gtk_events_pending() seems to spin sometimes?

2005-03-27 Thread Ben Johnson
On Sun, Mar 27, 2005 at 01:26:26PM +0200, [EMAIL PROTECTED] wrote: > > I imagine select() doesn't block too long because my program is keeping > > the cpu so busy. Is it possible I'm screwing up my environment somehow > > that's causing this breakage? Am I using gtk_events_pending() > > incorrect

Re: gtk_events_pending() seems to spin sometimes?

2005-03-27 Thread Ben Johnson
On Sun, Mar 27, 2005 at 07:04:47AM +, Claudio Polegato Jr. wrote: > Hi, > > Maybe the line > >printf("%s: will do: gtk_main_iteration ", __FUNCTION__); > > into the loop create a new event to iteration, then drop this line and > test. my loop looks more like this: printf("%s: ente

Re: gtk_events_pending() seems to spin sometimes?

2005-03-27 Thread Ben Johnson
On Sun, Mar 27, 2005 at 01:26:26PM +0200, [EMAIL PROTECTED] wrote: > > I imagine select() doesn't block too long because my program is keeping > > the cpu so busy. Is it possible I'm screwing up my environment somehow > > that's causing this breakage? Am I using gtk_events_pending() > > incorrect

Re: gtk, cairo, glitz, luminocity, what's their relation?

2005-03-27 Thread writser
In my opinion this is important for gtk too. Suppose someone wants to make a real 3d application. E.g. every button is an openGL cube, and has a realtime shadow that updates accordingly when the user moves a window around. Other widgets are 3d as well. Where should this functionality go? Cairo is

Re: gtk, cairo, glitz, luminocity, what's their relation?

2005-03-27 Thread Antonio Gomes
Hi writser, Wonderful questions ... but , although GTK and Cairo are closed related, probaly you we get more anwsers on the official Cairo Project mail list ... "[EMAIL PROTECTED]" ... or not ... there are people in this mail list that "know everything" :) Regards ... On Sun, 27 Mar 2005

gtk, cairo, glitz, luminocity, what's their relation?

2005-03-27 Thread writser
Hey all, I've read a lot lately about the future of gtk+/gnome. Things look very promising. There is one thing I don't understand though. Cairo is able to render scalable widgets using vector graphics. Glitz is a backend that provides openGL acceleration for Cairo. So if I'm not mistaken, an OpenG

Re: GTK 2.6.4 - XOpenDisplay in -lX11......no - libX11 not found

2005-03-27 Thread Maurizio Caloro
>CFLAGS="-L/usr/openwin/lib" ./configure > >and that style of options >Stian Thanks for this fast feedback the configure was run with one warning "XFIXES" if i made now make install or make check i become a other error that i can't allocate the same error i become if i start with gmake best

Fw: Re: GTK 2.6.4 - XOpenDisplay in -lX11......no - libX11 not found

2005-03-27 Thread Maurizio Caloro
>CFLAGS="-L/usr/openwin/lib" ./configure > >and that style of options >Stian Thanks for this fast feedback the configure was run with one warning "XFIXES" if i made now make install or make check i become a other error that i can't allocate the same error i become if i start with gmake best

Re: gtk_events_pending() seems to spin sometimes?

2005-03-27 Thread stian
> I imagine select() doesn't block too long because my program is keeping > the cpu so busy. Is it possible I'm screwing up my environment somehow > that's causing this breakage? Am I using gtk_events_pending() > incorrectly? What should I look for? Is this a threaded application? If so, you sh

Re: gtk_events_pending() seems to spin sometimes?

2005-03-27 Thread Claudio Polegato Jr.
Hi, Maybe the line printf("%s: will do: gtk_main_iteration ", __FUNCTION__); into the loop create a new event to iteration, then drop this line and test. []'s Claudio Ben Johnson escreveu: Hi. I have a loop that looks like this... while( gtk_events_pending () ) { printf("%s: will do: gtk

gtk_events_pending() seems to spin sometimes?

2005-03-27 Thread Ben Johnson
Hi. I have a loop that looks like this... while( gtk_events_pending () ) { printf("%s: will do: gtk_main_iteration ", __FUNCTION__); gtk_main_iteration (); } If I understand right, that should be pretty standard GTK+ code. Sometimes when my program hits this loop, gtk_events_pending()