Mipmapping for canvas. Ideas and comments.

Cyrille Berger cberger at cberger.net
Wed Jul 22 10:06:45 CEST 2009


On Wednesday 22 July 2009, Boudewijn Rempt wrote:
> On Wed, 22 Jul 2009, Cyrille Berger wrote:
> > On Wednesday 22 July 2009, Boudewijn Rempt wrote:
> > > > Pixmaps reside on the xserver and are fast to paint over and over
> > > > again Images reside on the client and are good if you need to poke at
> > > > the pixels or change it every time you display it
> >
> > This is not always true. This is currently true, on linux if you use the
> > default engine "native", but if you use "raster" QPixmap are treated as a
> > qimage, and they use the X Shared Memory extension to make cheap copy
> > with a XPimap [1] (not sure about the GL engine, but I would suspect that
> > are stored as textures).
>
> Just to make sure: I didn't write what you quoted :-). Another difference
> is that QPixmap, afaik, doesn't have transparency, which QImage has.
sure QPixmap can have transparency. But it's backend/system dependent, for 
instance, if you use 'native' and don't have Xrender then it ignores the 
transparency.

-- 
Cyrille Berger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090722/03813cf4/attachment.htm 


More information about the kimageshop mailing list