Summary: | [BlackBerry] Disable paintingGoesToWindow() for the root layer when force compositing mode is active | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Arvid Nilsson <anilsson> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | anilsson, fspacek, jamesr, jkjiang, jpetsovits, rwlbuis, sievers, staikos, tonikitoo, vangelis, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Arvid Nilsson
2012-04-04 01:55:53 PDT
The force compositing setting was introduced in bug #56156 Created attachment 135533 [details]
Patch
Perhaps this is something the Chromium team is interested in, I'm not sure why they originally added the "force compositing" setting. Perhaps in the future, this can be a cross-platform mechanism rather than a PLATFORM(BLACKBERRY) ifdef? Created attachment 135541 [details]
Patch
(In reply to comment #4) > Created an attachment (id=135541) [details] > Patch Renamed the new method to "inForcedCompositingMode()" to match the existing "inCompositingMode()" method. In Chromium we paint root contents to the "window" and handle that externally to WebCore. (In reply to comment #6) > In Chromium we paint root contents to the "window" and handle that externally to WebCore. Are you saying you have concerns with the approach in this patch? (In reply to comment #7) > (In reply to comment #6) > > In Chromium we paint root contents to the "window" and handle that externally to WebCore. > > Are you saying you have concerns with the approach in this patch? I don't think so - I added them to the bug's CC list since I was curious about what Chromium uses the "force compositing" setting for when it doesn't really do anything out of the box (since painting still goes to the window according to James' comment above.) If they are interested in this here feature (forcing root layer painting to go to layer instead of window) perhaps we can break it out into a separate setting in the future. Comment on attachment 135541 [details]
Patch
LGTM.
Comment on attachment 135541 [details] Patch Clearing flags on attachment: 135541 Committed r113326: <http://trac.webkit.org/changeset/113326> All reviewed patches have been landed. Closing bug. |