Re: Component on a pixmap.



If you are just creating a GdkImage with gdk_image_new, it allows you to
specify what type of image you wish to create (SHARED or NORMAL -- shared
using shared memory).  The gdk_image_get() function does not seem to give
you this choice.  It always uses XGetImage rather than giving the choice
of XShmGetImage, which would speed up your code.

You would have to ask the gtk guys if there is a reason for this not being
in there.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Mon, 8 Nov 1999, Cody Russell wrote:

> 
> Imlib uses shared memory to do it more quickly. Unfortunately, I know
> nothing about how to do this. :/
> 
> bratsche
> 



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