Bug 79251
Summary: | [chromium] Improve rubber-band overhang painting under composited path | ||
---|---|---|---|
Product: | WebKit | Reporter: | asvitkine |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | jamesr, schenney, thakis |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
asvitkine
Per discussion on: https://bugs.webkit.org/show_bug.cgi?id=78008
Currently, in the composited path, rubber-band overhang painting is done by having a single layer that gets conditionally enabled and its content updated whenever the overhang is visited. This is not optimal since it involves a re-upload of the whole layer every frame.
The way it's done for !CHROMIUM Mac, is that the ScrollbarTheme sets up the overhang area layer to just be a tiled pattern and the shadow layer to be some sort of magic path-based layer that are behind the content layers. We should do something similar.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
asvitkine
Above should say "whenever the overhang is *visible*."
Stephen Chenney
https://code.google.com/p/chromium/issues/detail?id=231285