Title: [91722] trunk/Source/WebCore
Revision
91722
Author
[email protected]
Date
2011-07-25 16:35:22 -0700 (Mon, 25 Jul 2011)

Log Message

[chromium] HUD texture must be unreserved after drawing
https://bugs.webkit.org/show_bug.cgi?id=65122

Unreserve the HUD texture after drawing.  To test, start chrome in debug with --show-fps-counter.  Since this is
a debugging option, no tests.

* platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
(WebCore::CCHeadsUpDisplay::draw):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91721 => 91722)


--- trunk/Source/WebCore/ChangeLog	2011-07-25 23:28:39 UTC (rev 91721)
+++ trunk/Source/WebCore/ChangeLog	2011-07-25 23:35:22 UTC (rev 91722)
@@ -1,3 +1,14 @@
+2011-07-25  James Robinson  <[email protected]>
+
+        [chromium] HUD texture must be unreserved after drawing
+        https://bugs.webkit.org/show_bug.cgi?id=65122
+
+        Unreserve the HUD texture after drawing.  To test, start chrome in debug with --show-fps-counter.  Since this is
+        a debugging option, no tests.
+
+        * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
+        (WebCore::CCHeadsUpDisplay::draw):
+
 2011-07-25  David Grogan  <[email protected]>
 
         Fix leveldb crash when compacting during destruction

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp (91721 => 91722)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp	2011-07-25 23:28:39 UTC (rev 91721)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp	2011-07-25 23:35:22 UTC (rev 91722)
@@ -142,6 +142,7 @@
                                     matrix, hudSize.width(), hudSize.height(),
                                     1.0f, program->vertexShader().matrixLocation(),
                                     program->fragmentShader().alphaLocation());
+    m_hudTexture->unreserve();
 }
 
 void CCHeadsUpDisplay::drawHudContents(GraphicsContext* ctx, const IntSize& hudSize)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to