Changeset 151245 in webkit


Ignore:
Timestamp:
Jun 5, 2013 3:43:00 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] AcceleratedCompositingContext: fix layerFlushTimerFiredCallback condition
https://bugs.webkit.org/show_bug.cgi?id=117258

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-06-05
Reviewed by Martin Robinson.

The expressions were incorrectly grouped, a timeout handler can
only be added only if there's none running already.

  • WebCoreSupport/AcceleratedCompositingContextGL.cpp:

(WebKit::AcceleratedCompositingContext::renderLayersToWindow):

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

Legend:

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

    r151198 r151245  
     12013-06-05  Alberto Garcia  <agarcia@igalia.com>
     2
     3        [GTK] AcceleratedCompositingContext: fix layerFlushTimerFiredCallback condition
     4        https://bugs.webkit.org/show_bug.cgi?id=117258
     5
     6        Reviewed by Martin Robinson.
     7
     8        The expressions were incorrectly grouped, a timeout handler can
     9        only be added only if there's none running already.
     10
     11        * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
     12        (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
     13
    1142013-06-04  Alberto Garcia  <agarcia@igalia.com>
    215
  • trunk/Source/WebKit/gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp

    r151198 r151245  
    157157    cairo_fill(cr);
    158158
    159     if ((!m_layerFlushTimerCallbackId && toTextureMapperLayer(m_rootLayer.get())->descendantsOrSelfHaveRunningAnimations()) || m_needsExtraFlush) {
     159    if (!m_layerFlushTimerCallbackId && (toTextureMapperLayer(m_rootLayer.get())->descendantsOrSelfHaveRunningAnimations() || m_needsExtraFlush)) {
    160160        m_needsExtraFlush = false;
    161161        double nextFlush = max((1 / gFramesPerSecond) - (currentTime() - m_lastFlushTime), 0.0);
Note: See TracChangeset for help on using the changeset viewer.