Changeset 93335 in webkit


Ignore:
Timestamp:
Aug 18, 2011, 12:32:13 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Fix logic error causing reverse of desired WebGL rate limiting behavior
https://bugs.webkit.org/show_bug.cgi?id=66445

Patch by John Bates <jbates@google.com> on 2011-08-18
Reviewed by Kenneth Russell.

  • platform/graphics/chromium/WebGLLayerChromium.cpp:

(WebCore::WebGLLayerChromium::setTextureUpdated):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r93334 r93335  
     12011-08-18  John Bates  <jbates@google.com>
     2
     3        Fix logic error causing reverse of desired WebGL rate limiting behavior
     4        https://bugs.webkit.org/show_bug.cgi?id=66445
     5
     6        Reviewed by Kenneth Russell.
     7
     8        * platform/graphics/chromium/WebGLLayerChromium.cpp:
     9        (WebCore::WebGLLayerChromium::setTextureUpdated):
     10
    1112011-08-18  Levi Weintraub  <leviw@chromium.org>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp

    r92908 r93335  
    124124    // If WebGL commands are issued outside of a the animation callbacks, then use
    125125    // call rateLimitOffscreenContextCHROMIUM() to keep the context from getting too far ahead.
    126     if (layerRenderer() && layerRenderer()->owner()->animating() && m_contextSupportsRateLimitingExtension && !m_rateLimitingTimer.isActive())
     126    if (layerRenderer() && !layerRenderer()->owner()->animating() && m_contextSupportsRateLimitingExtension && !m_rateLimitingTimer.isActive())
    127127        m_rateLimitingTimer.startOneShot(0);
    128128}
Note: See TracChangeset for help on using the changeset viewer.