Mipmapping for canvas. Ideas and comments.

C. Boemann cbo at boemann.dk
Thu Jul 23 12:38:20 CEST 2009


On Thursday 23 July 2009 12:35:28 Dmitry Kazakov wrote:
> >> krita/image is not a proper place for pyramid as the latter one needs
> >> 'monitor profile' to convert paintDevice to QImage. The only solution
> >> to leaving pyramid inside image/ is to make it use KisPaintDevice. But
> >> paintDevice's tiles are too small for that purpose =)
> >>
> >> Btw, i'm afraid of that tiles inside pyramid can degrade perfomance,
> >> can't they?
> >
> > The tiles are not too small at all.
> >
> > just let one tile on a hight level cover 4 tiles on the level below.
> > voila and it will work.
> >
> > tiles are needed for large pictures anyway
>
> So should i use KisPaintDevice here or write some special, based on
> QImage, tile backend?
my vote is for neither. make a kispaintdevice kinf of thing that uses the tile 
system but without all the painting overhead


More information about the kimageshop mailing list