[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Text Selection Speed
From: Dirk Mueller <mueller () kde ! org>
Date: 2002-06-23 21:00:28
[Download RAW message or body]
On Son, 23 Jun 2002, Koos Vriezen wrote:
> > - what you hacked together with QValueList<QRect> is handled MUCH more
> > efficiently in QRegion. Please use that instead.
> Didn't know that. Why isn't it used then?
Because repainting a boundary rect is probably faster than repainting a
complex region.
> Already had
> if (d->cachedInnerNode &&
> d->cachedInnerNode->innerNode()->renderer()->nodeAtPoint(......)) {
> if (d->cachedInnerNode->URLElement() && !renderInfo.URLElement())
> renderInfo.setURLElement(d->cachedInnerNode->URLElement());
> *d->cachedInnerNode = renderInfo;
> isInside = true;
> } else
> in my tree, which always updates the cache.
No, not quite. there might be specialobjects "up" in the tree that are
"inside".
> Also an invalidation
> of the cache in 'DocumentImpl::close' was necessary.
euhm?
Dirk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic