Re: gdk_pixbuf_composite and gdk_pixbuf_render_to_drawable performance
- From: Havoc Pennington <hp redhat com>
- To: Michael Rothwell <rothwell holly-springs nc us>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gdk_pixbuf_composite and gdk_pixbuf_render_to_drawable performance
- Date: 08 Jan 2002 01:19:21 -0500
Michael Rothwell <rothwell holly-springs nc us> writes:
Is there a technique for speeding up gdk_pixbuf_render_to_drawable?
Owen was just optimizing it for GTK 2, try CVS GTK HEAD maybe. If you
do a render on every motion event it's going to eat 100% CPU no matter
how fast he gets it though - you normally get quite a few motion
events for a mouse movement... if you don't use
POINTER_MOTION_HINT_MASK you'll quickly get behind and it will take
ages to "catch up", if you do use POINTER_MOTION_HINT_MASK the whole
point is to handle as many events as you can, which basically means
100% CPU.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]