[Webkit-unassigned] [Bug 150323] [GTK] Graphics corruption when entering/leaving AC mode quickly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 19 06:20:59 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150323

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #263476|                            |review?
              Flags|                            |

--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 263476
  --> https://bugs.webkit.org/attachment.cgi?id=263476&action=review
Patch

The ExitAcceleratedCompositingMode message that the web process sends to the UI process, includes a backing store update to avoid this flickering. The DrawingArea first calls exitAcceleratedCompositingMode() and then incorporateUpdate() to render the given update. Since we are resizing the redirected window immediately to clear its resources, it's happening before the incorporateUpdate(). So, the same way we wait for 2 seconds to discard the non AC backing store, we can do the same with the redirected window. This ensure that when the window is resized, the new update has already rendered and also that switching quickly between AC and non Ac mode doesn't resize the redirected window unnecessarily. Hopefully this removes the flickering and rendering artifacts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151019/951cc4c3/attachment.html>


More information about the webkit-unassigned mailing list