Bug 238317 - [WinCairo] WCTileGrid should create tiles only for the inside of layer area
Summary: [WinCairo] WCTileGrid should create tiles only for the inside of layer area
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: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-24 00:28 PDT by Fujii Hironori
Modified: 2022-03-24 12:55 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.11 KB, patch)
2022-03-24 00:34 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff
Patch for landing (2.10 KB, patch)
2022-03-24 12:50 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2022-03-24 00:28:32 PDT
[WinCairo] WCTileGrid should create tiles only for the inside of layer area

1. Start WinCairo MiniBrowser
2. Go to https://www.gamecity.ne.jp/shingeki2/finalbattle/character.html
3. Scroll back and forth in the page

Actual: very slow
Expected: scrolling smoothly
Comment 1 Fujii Hironori 2022-03-24 00:34:41 PDT
Created attachment 455620 [details]
Patch
Comment 2 Don Olmstead 2022-03-24 10:20:30 PDT
Comment on attachment 455620 [details]
Patch

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

> Source/WebKit/WebProcess/WebPage/wc/WCTileGrid.cpp:62
> +    WebCore::IntRect rect = pixelRect;

auto rect = WebCore::intersection(pixelRect, { { }, m_size });
Comment 3 Fujii Hironori 2022-03-24 12:50:10 PDT
Created attachment 455668 [details]
Patch for landing
Comment 4 Fujii Hironori 2022-03-24 12:54:06 PDT
Committed r291812 (?): <https://commits.webkit.org/r291812>
Comment 5 Radar WebKit Bug Importer 2022-03-24 12:55:15 PDT
<rdar://problem/90785553>