Re: Gtk performance issues from a user's point of view
- From: Federico Mena Quintero <federico ximian com>
- To: Tero Huttunen <tero huttunen tut fi>
- Cc: performance-list gnome org
- Subject: Re: Gtk performance issues from a user's point of view
- Date: Mon, 02 Oct 2006 15:17:22 -0500
On Sun, 2006-10-01 at 20:25 +0300, Tero Huttunen wrote:
> > What evidence do you have that GTK+ probably isn't drawing through
> > Render?
>
> I thought it wouldn't do solid fills through Render. However, I did a
> new hack, by modifying R200SubsequentCPUtoScreenTexture to return
> immediately. Result:
>
> http://www.students.tut.fi/~huttune2/accel2.png
>
> Clearly Qt can accelerate some of the Render-operations, since some of
> the text is missing, however, Gtk doesn't seem to accelerate anything.
> What other functions should I test?
This is very interesting!
Keep in mind that GTK+ draws everything to a Pixmap to avoid flicker,
and then paints the pixmap to the final Window. I wonder if your hack
contemplates this.
That said, I don't know how pixmaps work when they fall outside of video
memory. Does the X server just draw to them "by hand", to normal RAM?
[ObFlame: if @#$% Mozilla would not fill VRAM with pr0n, then GTK+'s
pixmaps may fit in VRAM...]
There's work-in-progress documentation about the GTK+ drawing model
here:
http://primates.ximian.com/~federico/misc/gtk-drawing-model/index.html
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]