Re: gtk-list Digest, Vol 28, Issue 18

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

 



I have a question as well.

here is a quote from Michael Torrie:

First is that when you uncover a window, X11 sends expose events to the
uncovered window. It is up to the client (the app) to respond to these
events and redraw the parts that were exposed.  If the window is in
motion, these expose events may come faster than the app can deal with.
GTK typically "compresses" these events and will wait to do the actual
redraw.  This reduces the CPU consumption and increases overall speed,
but it comes at the expense of visual stuttering.  "

IF that is the case then why do i get Stuttering AND 100% cpu
utilization? When I hold a window and move it around in little tiny
circles, my cpu monitor goes up to 100% (on an amd 64 3000 )  . btw
thats with no other programs running.........

On 8/10/06, gtk-list-request@xxxxxxxxx <gtk-list-request@xxxxxxxxx> wrote:
> Send gtk-list mailing list submissions to
>         gtk-list@xxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.gnome.org/mailman/listinfo/gtk-list
> or, via email, send a message with subject or body 'help' to
>         gtk-list-request@xxxxxxxxx
>
> You can reach the person managing the list at
>         gtk-list-owner@xxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gtk-list digest..."
>
>
> Today's Topics:
>
>    1. GTK is double buffered by default ? on GNU/Linux and MS
>       Windows ? ( KLEIN St?phane )
>    2. Re: GTK is double buffered by default ? on GNU/Linux and MS
>       Windows ? (Sergei Steshenko)
>    3. tool (Bill Cunningham)
>    4. Re: tool (Sergei Steshenko)
>    5. Re: gtk_label_set_text () BUG !?!?!?!??!?!?!??!!? ( N00b )
>       (Tristan Van Berkom)
>    6. Re: gtk drawing question (Do?acan G?ney)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 10 Aug 2006 16:34:13 +0200
> From: " KLEIN St?phane " <klein.stephane@xxxxxxxxx>
> Subject: GTK is double buffered by default ? on GNU/Linux and MS
>         Windows ?
> To: gtk-list@xxxxxxxxx
> Message-ID:
>         <6bcc32f20608100734j618826ffofbbafc2141d74268@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I use Ubuntu system. I've showed gnome and Gimp to one friend. This friend
> use MS Windows since always.
>
> He say : "I dislike Linux, Ubuntu, Gnome, Gimp ... because the GUI display
> scintillate. This also for Gimp MS Windows version".
>
> He say : "First, I see the window draw, next the background draw of
> button...". On the contrary, MS Windows application display all widget in
> one step."
>
> I don't know if you understand my subject.
>
> My question : is there double buffering render in GTK ? If yes, why my
> friend think than Windows display is faster than GTK and other widget
> toolkit ? If not, why that ?
>
> Thanks for your response.
> --St?phane
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: /archives/gtk-list/attachments/20060810/c6b08833/attachment.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 10 Aug 2006 07:49:04 -0700 (PDT)
> From: Sergei Steshenko <sergstesh@xxxxxxxxx>
> Subject: Re: GTK is double buffered by default ? on GNU/Linux and MS
>         Windows ?
> To: KLEIN "Stéphane" <klein.stephane@xxxxxxxxx>, gtk-list@xxxxxxxxx
> Message-ID: <20060810144904.50907.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=iso-8859-1
>
>
>
> --- KLEIN St?phane <klein.stephane@xxxxxxxxx> wrote:
>
> > Hello,
> >
> > I use Ubuntu system. I've showed gnome and Gimp to one friend. This friend
> > use MS Windows since always.
> >
> > He say : "I dislike Linux, Ubuntu, Gnome, Gimp ... because the GUI display
> > scintillate. This also for Gimp MS Windows version".
> >
> > He say : "First, I see the window draw, next the background draw of
> > button...". On the contrary, MS Windows application display all widget in
> > one step."
> >
> > I don't know if you understand my subject.
> >
> > My question : is there double buffering render in GTK ? If yes, why my
> > friend think than Windows display is faster than GTK and other widget
> > toolkit ? If not, why that ?
> >
> > Thanks for your response.
> > --St?phane
> > > _______________________________________________
> > gtk-list mailing list
> > gtk-list@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
> For startes, Windows graphics system is not network-aware,
> unlike X.
>
> This makes it necessary to use VNC, RDP and friends to
> access remote desktop on Windows, but makes graphics system
> faster when local access is in place.
>
> With X you have built-in network accessibility, but,
> as far as I know, it's one of the factors making it
> slower.
>
> OpenGL should provide fast X graphics.
>
> --Sergei.
>
> Applications From Scratch: http://appsfromscratch.berlios.de/
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 10 Aug 2006 10:55:22 -0400
> From: "Bill Cunningham" <billcu1@xxxxxxxxxxx>
> Subject: tool
> To: <gtk-list@xxxxxxxxx>
> Message-ID: <000701c6bc8d$02030200$2f01a8c0@xxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=iso-8859-1
>
>     Sergei,
>
> Does your tool have a home page? I'm about at witts end with this. Now I'm
> being told I need expat to compile fontconfig which is needed for freetype.
> You sent me a link and I downloaded the file. Is there a page? I don't have
> that link anymore.
>
> Thanks
> Bill
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 10 Aug 2006 08:03:41 -0700 (PDT)
> From: Sergei Steshenko <sergstesh@xxxxxxxxx>
> Subject: Re: tool
> To: Bill Cunningham <billcu1@xxxxxxxxxxx>, gtk-list@xxxxxxxxx
> Message-ID: <20060810150341.75350.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=iso-8859-1
>
>
>
> --- Bill Cunningham <billcu1@xxxxxxxxxxx> wrote:
>
> >     Sergei,
> >
> > Does your tool have a home page? I'm about at witts end with this. Now I'm
> > being told I need expat to compile fontconfig which is needed for freetype.
> > You sent me a link and I downloaded the file. Is there a page? I don't have
> > that link anymore.
> >
> > Thanks
> > Bill
> >
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
> http://appsfromscratch.berlios.de/
>
> Isn't the URL in my signature ?
>
> I'll be out for several hours - if you encounter a problem, read
> the first error message (look for :ERROR:). The message should
> contain full path to 'configure.log', 'make.log', etc.
>
> Look into the logs to see what the problem is.
>
> Typically, you'll need some basic packages like 'zlib', 'libpng'
> etc., including .h files, installed at system level.
>
>
> --Sergei.
>
> Applications From Scratch: http://appsfromscratch.berlios.de/
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 10 Aug 2006 12:00:32 -0400
> From: Tristan Van Berkom <tristan.van.berkom@xxxxxxxxx>
> Subject: Re: gtk_label_set_text () BUG !?!?!?!??!?!?!??!!? ( N00b )
> To: hm <z_b_r@xxxxxxxxx>
> Cc: gtk-list@xxxxxxxxx
> Message-ID: <44DB5820.4090606@xxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> hm wrote:
>
> >Hi !
> >
> >  I`m not quiet sure if my previous mail was sent, so I`ll try to write it once again.
> >Lieven van der Heide wrote, that I should call all gtk functions from one thread. I`ve tried :
> >
> >1. Created function in main program, that calls gtk_label_set_text (). The function takes string as a ( from <string> ) parameter, which is converted to c-language string by string. c_str ()
> >
> >2. Thread function gets pointer to function from point 1. as a parameter, and when specific conditions arefulfilled, then the function from point 1. is beiung called ( by the pointer passed as an argument for thread function )
> >
> >Result : the same :/
> >
> >
> Because your not doing anything different.
>
> >Any clues ? :)
> >
> >
> Yes,
>     please save yourself (and all of us) alot of effort by finding out
> the meaning
> of threads, if you dont have a good understanding about threads, your
> program
> will crash and lock up I garauntee it, you will also find yourself
> unable to properly
> phrase questions about why its not working - because you havent figured out
> the meaning of your questions yet.
>
> Cheers,
>                                   -Tristan
>
> I'm not about to write a book here but here's a little hint to justify
> my rant:
>
>     - Threads share data throughout the process address space, all data
> belongs
>       to the 'program' or 'process', if you are currently executing
> thread B, then
>       function calls from thread B will be run in thread B; regardless
> of in which
>       object file the stub happened to be built in and linked from.
>
>    - When you use an idle handler (g_idle_add()) to schedule an event in
> the mainloop,
>      this will result in a write to a pipe() that is used to wakeup the
> GMainContext of
>      the mainloop (usually in the main thread), again - regardless of
> what object file
>      the idle handler was declared in - it will be run from the main
> thread of execution.
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 10 Aug 2006 15:58:47 +0000
> From: Do?acan G?ney <naliven@xxxxxxx>
> Subject: Re: gtk drawing question
> To: gtk-list@xxxxxxxxx
> Message-ID: <BAY5-F1409D5CDA7C24380F53650B24A0@xxxxxxx>
> Content-Type: text/plain; charset=iso-8859-9; format=flowed
>
>
>
> >From: Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx>
> >Reply-To: paul@xxxxxxxxxxxxxxxxxxxxx
> >To: Do?acan G?ney <naliven@xxxxxxx>
> >CC: gtk-list@xxxxxxxxx
> >Subject: Re: gtk drawing question
> >Date: Thu, 10 Aug 2006 10:14:24 -0400
> >
> >On Thu, 2006-08-10 at 13:46 +0000, Do?acan G?ney wrote:
> > > Hi,
> > >
> > > I am trying to write a program similar to the one at
> > > http://mirko.lilik.it/Ruby-GNOME2/moz-snapshooter.rb . As far as I
> > > understand it, net-stop only means that the loading of page is
> >completed, it
> > > doesn't necessarily mean that drawing the widget is complete. My
> >question
> > > is, is there a way to understand if drawing of a widget (gtkmozembed in
> >this
> > > case) is complete?
> >
> >your question is ill-formed. do you mean "when every pixel that
> >represents a widget has been displayed on a screen?" or "when the code
> >responsible for requesting pixel changes has been called?" or something
> >else?
>
> What I want to do is to load a web page, then take the snapshot of this
> page.
> So I tell gtkmozembed to load the url and notify me (through net-stop) when
> it is done.
> When I recieve the net-stop signal, I create a pixbuf from the gtkmozembed
> widget and save it to a jpg. My problem is that, recieving net-stop signal
> only means that the page is fetched from web but not completely displayed on
> the screen(I think). So the jpg I generated is sometimes empty, or
> half-drawn.
>
> So, I guess my question is:
> I want to be notified when the page is completely rendered (with all the
> pictures and text and other stuff in it) and displayed on the screen.
>
> Is that clear enough?
>
> >
> >
>
> _________________________________________________________________
> Sohbet ederken Messenger'da eglenin! http://messenger.live.com
>
>
>
> ------------------------------
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
> End of gtk-list Digest, Vol 28, Issue 18
> ****************************************
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux