|
|
Subscribe / Log in / New account

A GNOME 2.12 preview

A GNOME 2.12 preview

Posted Jul 31, 2005 18:34 UTC (Sun) by jg (guest, #17537)
In reply to: A GNOME 2.12 preview by jg
Parent article: A GNOME 2.12 preview

It is being addressed...


to post comments

A GNOME 2.12 preview

Posted Jul 31, 2005 20:08 UTC (Sun) by yodermk (subscriber, #3803) [Link]

Is this going to require a relatively recent graphics card?

I'm still using a G400 ..... good enough?

A GNOME 2.12 preview

Posted Jul 31, 2005 21:05 UTC (Sun) by jg (guest, #17537) [Link] (3 responses)

Should be fine. Cairo performance is quite decent now and people should not notice performance problems in general. It just isn't as fast as it will be in the future.

A GNOME 2.12 preview

Posted Aug 1, 2005 5:35 UTC (Mon) by JoeBuck (subscriber, #2330) [Link] (2 responses)

What about when the client and server are different machines? Can Cairo be used in that situation?

A GNOME 2.12 preview

Posted Aug 1, 2005 6:24 UTC (Mon) by hp (guest, #5220) [Link] (1 responses)

With the RENDER extension it should be better in that situation, since old gtk would have pulled down the pixels from the server to the client, composited, and pushed pixels back; compositing can now be done on the server instead, avoiding the round trip. (Performance of networked X11 is usually a function of number of round trip requests.) Cairo automatically uses RENDER or not as appropriate.

None of this drawing work does anything for some of the common stuff that shows up in gtk profiles though, like text measurement. The complexity of Unicode and international font rendering isn't at all easy to make fast. This stuff is a client-side issue not an X server or drawing issue though.

A simple example, most programmers have probably written a word wrap algorithm before - insert a newline at the last whitespace before the wrap column. Maybe a dozen-lines function or something for ASCII, and super fast. But 100% broken in many languages. Welcome to the real world. Ouch. The same thing happens with a lot of text-related operations.

Honestly though, most apps are not bottlenecking on drawing text (or GTK+ in general). In practice the speed of an IMAP server or web page loading/rendering or pulling executables off disk are all much more user-visible issues.

Some of the "snappy feel" people are looking for will be much easier to achieve with new X server features that cause it to retain window contents and avoid the flickery expose event model. This is qualitative change (avoid intermediate redraw states) rather than quantitative (do the redraw as fast as possible).

A GNOME 2.12 preview

Posted Aug 2, 2005 0:34 UTC (Tue) by jonabbey (guest, #2736) [Link]

Having written such a simple word-wrap algorithm as is alluded to, that 'real world' code makes me very scared indeed. I want my mommy.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds