Re: Pixmap performance
- From: Deekshit Mantampady <deekshit mantampady wipro com>
- To: "Cupitt John" <John Cupitt ng-london org uk>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: Pixmap performance
- Date: Tue, 20 Aug 2002 16:26:25 +0530
Here is one more requirement,
In a window I am having (say) 100 pixmap images each of resolution
100x100. I will be dragging each of them frequently. I am having a celerom
300A PC with 128 MB RAM. What will be the performance in terms of speed, memory
and flickering.
The description given in "Memory Management" section of Gdk-Pixbuf API reference
was not satisfying.
I wanted to clarify all my doubts before I actually start., so that I can choose
a better design.
Deekshit M
"Cupitt, John" wrote:
> Deekshit Mantampady wrote:
> > I have a small doubt regarding pixmap. I have a pixmap with
> resolution of
> >
> > 10000x10000 pixels. How fast the image will be rendered ? Assuming I
> have a
> > scrolled window of size 100x100. How about the scrolled
> performace(Will it be
> > smooth)..? If this is not the efficient way to display large images,
> is there
> > any better alternative for the same.
>
> Hi Deekshit, my app displays large images.
>
> http://www.vips.ecs.soton.ac.uk/
>
> I mmap() the image file and then for each expose event render just the
> exposed section from disc to the display. It's quite fast and smooth.
>
> I did my own code, but I think the new gdk-pixbuf library in gtk2 will
> render sections of images. The trick (if there is one) is just to not
> ever deal with the whole thing at once.
That is a better one.
>
>
> http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/index.html
>
> John
**************************Disclaimer************************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]