Bug 155734 - [iOS WK2] Use larger tiles when possible to reduce per-tile painting overhead
Summary: [iOS WK2] Use larger tiles when possible to reduce per-tile painting overhead
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-03-21 14:44 PDT by Simon Fraser (smfr)
Modified: 2016-03-21 15:26 PDT (History)
1 user (show)

See Also:


Attachments
Patch (17.93 KB, patch)
2016-03-21 14:54 PDT, Simon Fraser (smfr)
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2016-03-21 14:44:55 PDT
[iOS WK2] Use larger tiles when possible to reduce per-tile painting overhead
Comment 1 Simon Fraser (smfr) 2016-03-21 14:54:04 PDT
Created attachment 274623 [details]
Patch
Comment 2 Simon Fraser (smfr) 2016-03-21 14:55:32 PDT
rdar://problem/24968144
Comment 3 Tim Horton 2016-03-21 15:00:36 PDT
Comment on attachment 274623 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=274623&action=review

> Source/WebCore/platform/graphics/ca/TileController.cpp:367
> -    double horizontalMargin = tileSize().width() / contentsScale;
> -    double verticalMargin = tileSize().height() / contentsScale;
> +    double horizontalMargin = kDefaultTileSize / contentsScale;
> +    double verticalMargin = kDefaultTileSize / contentsScale;

Is this tested?
Comment 4 Simon Fraser (smfr) 2016-03-21 15:26:13 PDT
Yes, the overdraw should be tested.

https://trac.webkit.org/r198502