Mipmapping for canvas. Ideas and comments.
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  (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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kimageshop