Summary: | [Qt][WK2] Don't synchronize WebGraphicsLayers to the UI process if the actual layer information wasn't changed | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Noam Rosenthal <noam> | ||||||
Component: | Layout and Rendering | Assignee: | Noam Rosenthal <noam> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | hausmann, jturcotte, kenneth, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 75780 | ||||||||
Attachments: |
|
Description
Noam Rosenthal
2012-03-28 13:55:24 PDT
Created attachment 134417 [details]
Patch
Comment on attachment 134417 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134417&action=review LGTM beside one nitpick. > Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:73 > + if (!transform().isAffine()) I guess this relates to shouldUseTiledBackingStore? Could you add a comment why it helps? Comment on attachment 134417 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134417&action=review > Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:78 > + toWebGraphicsLayer(children()[i])->setShouldUpdateVisibleRect(); hasPendingVisibleRectChange? > Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:439 > + if (!m_modified) > + return; I would add a newline after each return statement Created attachment 136257 [details]
Patch for landing
Comment on attachment 136257 [details] Patch for landing Clearing flags on attachment: 136257 Committed r113615: <http://trac.webkit.org/changeset/113615> All reviewed patches have been landed. Closing bug. |