WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
102617
Add a 'has flipped blocks' bit somewhere to optimize stuff
https://bugs.webkit.org/show_bug.cgi?id=102617
Summary
Add a 'has flipped blocks' bit somewhere to optimize stuff
Simon Fraser (smfr)
Reported
2012-11-18 12:00:33 PST
canMapBetweenRenderers() has to walk renderers looking for flipped blocks, which is unfortunate because this slows down the layer->layer mapping optimization there. A bit on RenderLayer that says "hasFlippedBlocks contents" would help.
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2012-11-30 20:53:27 PST
I also note that RenderBox::topLeftLocationOffset() is expensive, about 2% of the total time when scrolling a layer-heavy page. If we could do a quick check for flipped blocks, we could probably avoid the containingBlock() call and make it much faster.
Dave Hyatt
Comment 2
2015-05-06 12:37:22 PDT
I added this, so this bug can be closed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug