Title: [93335] trunk/Source/WebCore
Revision
93335
Author
[email protected]
Date
2011-08-18 12:32:13 -0700 (Thu, 18 Aug 2011)

Log 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 <[email protected]> on 2011-08-18
Reviewed by Kenneth Russell.

* platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::setTextureUpdated):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93334 => 93335)


--- trunk/Source/WebCore/ChangeLog	2011-08-18 19:28:33 UTC (rev 93334)
+++ trunk/Source/WebCore/ChangeLog	2011-08-18 19:32:13 UTC (rev 93335)
@@ -1,3 +1,13 @@
+2011-08-18  John Bates  <[email protected]>
+
+        Fix logic error causing reverse of desired WebGL rate limiting behavior
+        https://bugs.webkit.org/show_bug.cgi?id=66445
+
+        Reviewed by Kenneth Russell.
+
+        * platform/graphics/chromium/WebGLLayerChromium.cpp:
+        (WebCore::WebGLLayerChromium::setTextureUpdated):
+
 2011-08-18  Levi Weintraub  <[email protected]>
 
         Switch RenderTextControl* to new layout types

Modified: trunk/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp (93334 => 93335)


--- trunk/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp	2011-08-18 19:28:33 UTC (rev 93334)
+++ trunk/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp	2011-08-18 19:32:13 UTC (rev 93335)
@@ -123,7 +123,7 @@
     m_textureUpdated = true;
     // If WebGL commands are issued outside of a the animation callbacks, then use
     // call rateLimitOffscreenContextCHROMIUM() to keep the context from getting too far ahead.
-    if (layerRenderer() && layerRenderer()->owner()->animating() && m_contextSupportsRateLimitingExtension && !m_rateLimitingTimer.isActive())
+    if (layerRenderer() && !layerRenderer()->owner()->animating() && m_contextSupportsRateLimitingExtension && !m_rateLimitingTimer.isActive())
         m_rateLimitingTimer.startOneShot(0);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to