WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
131586
Keep secondary tile grid for zoomed-out scale
https://bugs.webkit.org/show_bug.cgi?id=131586
Summary
Keep secondary tile grid for zoomed-out scale
Antti Koivisto
Reported
2014-04-12 22:21:51 PDT
Better zooming
Attachments
patch
(15.20 KB, patch)
2014-04-12 22:45 PDT
,
Antti Koivisto
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2014-04-12 22:45:52 PDT
Created
attachment 229217
[details]
patch
Antti Koivisto
Comment 2
2014-04-12 22:48:04 PDT
<
rdar://problem/16383851
>
Darin Adler
Comment 3
2014-04-13 23:25:24 PDT
Comment on
attachment 229217
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=229217&action=review
> Source/WebCore/platform/graphics/ca/mac/TileController.mm:520 > + count += m_zoomedOutTileGrid->numberOfUnparentedTiles();
extra space here after "+="
Tim Horton
Comment 4
2014-04-14 11:27:44 PDT
Comment on
attachment 229217
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=229217&action=review
> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:2999 > + if (m_isPageTiledBackingLayer) > + m_uncommittedChanges |= ChildrenChanged;
Do we need to do this always? Is it bad if we do?
Antti Koivisto
Comment 5
2014-04-14 11:31:37 PDT
> Do we need to do this always? Is it bad if we do?
We don't but I don't think it ends up doing significant amount of actual work if nothing changes (it just re-adds the layers that are already there).
Antti Koivisto
Comment 6
2014-04-14 11:40:48 PDT
https://trac.webkit.org/r167256
Simon Fraser (smfr)
Comment 7
2014-04-14 12:20:52 PDT
Comment on
attachment 229217
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=229217&action=review
>> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:2999 >> + m_uncommittedChanges |= ChildrenChanged; > > Do we need to do this always? Is it bad if we do?
Yeah, I would prefer that we don't always do this. It will result in extra remote layer tree transaction thrash. tiledBacking() should have a: bool contentsScaleChangeRequiresSublayerUpdate(float) or something.
> Source/WebCore/platform/graphics/ca/mac/TileController.mm:135 > + return tileGrid().scale() * m_deviceScaleFactor;
I hope the scale /= deviceScaleFactor; and this math don't result in floating-point rounding issues that cause us to compare the contentsScale as different somewhere.
> Source/WebCore/platform/graphics/ca/mac/TileGrid.h:-62 > - typedef unsigned TileValidationPolicyFlags;
Why did you remove this? I prefer strongly typed bitfield types.
> Source/WebCore/platform/graphics/ca/mac/TileGrid.mm:340 > +void TileGrid::revalidateTiles(unsigned validationPolicy)
:(
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