[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/rendering
From: Germain Garand <germain () ebooksfrance ! com>
Date: 2006-09-25 1:51:04
Message-ID: 1159149064.248041.2098.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 588129 by ggarand:
Take the new overflow list into account when writing out layer descriptions.
Fix bogus changes in testregression's [R] output.
M +8 -1 render_layer.cpp
--- branches/KDE/3.5/kdelibs/khtml/rendering/render_layer.cpp #588128:588129
@@ -1452,11 +1452,13 @@
QRect layerBounds, damageRect, clipRectToApply;
l->calculateRects(rootLayer, paintDirtyRect, layerBounds, damageRect, \
clipRectToApply);
- // Ensure our z-order lists are up-to-date.
+ // Ensure our lists are up-to-date.
l->updateZOrderLists();
+ l->updateOverflowList();
bool shouldPaint = l->intersectsDamageRect(layerBounds, damageRect);
QPtrVector<RenderLayer>* negList = l->negZOrderList();
+ QValueList<RenderLayer*>* ovfList = l->overflowList();
if (shouldPaint && negList && negList->count() > 0)
write(ts, *l, layerBounds, damageRect, clipRectToApply, -1, indent);
@@ -1467,6 +1469,11 @@
if (shouldPaint)
write(ts, *l, layerBounds, damageRect, clipRectToApply, negList && \
negList->count() > 0, indent); +
+ if (ovfList) {
+ for (QValueList<RenderLayer*>::iterator it = ovfList->begin(); it != \
ovfList->end(); ++it) + writeLayers(ts, rootLayer, *it, paintDirtyRect, \
indent); + }
QPtrVector<RenderLayer>* posList = l->posZOrderList();
if (posList) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic