Changeset 129511 in webkit


Ignore:
Timestamp:
Sep 25, 2012, 8:22:54 AM (13 years ago)
Author:
caseq@chromium.org
Message:

[chromium] adding a page overlay causes endless update loop when accelerated compositing is used
https://bugs.webkit.org/show_bug.cgi?id=97466

Reviewed by James Robinson.

Do not update overlays in composite() -- doing so ultimately causes invalidation
of the view, hence another update and another call do composite(). Overlays should be
updated only when their content changes.

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::composite):

Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r129466 r129511  
     12012-09-24  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        [chromium] adding a page overlay causes endless update loop when accelerated compositing is used
     4        https://bugs.webkit.org/show_bug.cgi?id=97466
     5
     6        Reviewed by James Robinson.
     7
     8        Do not update overlays in composite() -- doing so ultimately causes invalidation
     9        of the view, hence another update and another call do composite(). Overlays should be
     10        updated only when their content changes.
     11
     12        * src/WebViewImpl.cpp:
     13        (WebKit::WebViewImpl::composite):
     14
    1152012-09-21  Ilya Tikhonovsky  <loislo@chromium.org>
    216
  • trunk/Source/WebKit/chromium/src/WebViewImpl.cpp

    r129443 r129511  
    18231823            return;
    18241824
    1825         if (m_pageOverlays)
    1826             m_pageOverlays->update();
    1827 
    18281825        m_layerTreeView->composite();
    18291826    }
Note: See TracChangeset for help on using the changeset viewer.