Title: [198011] releases/WebKitGTK/webkit-2.12/Source/WebCore
- Revision
- 198011
- Author
- [email protected]
- Date
- 2016-03-11 05:58:25 -0800 (Fri, 11 Mar 2016)
Log Message
Merge r197678 - [TextureMapper] [BitmapTexturePool] Use appropriate list size when freeing textures
https://bugs.webkit.org/show_bug.cgi?id=155105
Patch by Miguel Gomez <[email protected]> on 2016-03-07
Reviewed by Žan Doberšek.
Use appropriate list size when releasing the textures used as attachment.
This is a fix for the patch to https://bugs.webkit.org/show_bug.cgi?id=154965.
No new tests because no new functionality was added.
* platform/graphics/texmap/BitmapTexturePool.cpp:
(WebCore::BitmapTexturePool::releaseUnusedTexturesTimerFired):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog (198010 => 198011)
--- releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog 2016-03-11 13:49:14 UTC (rev 198010)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog 2016-03-11 13:58:25 UTC (rev 198011)
@@ -1,3 +1,18 @@
+2016-03-07 Miguel Gomez <[email protected]>
+
+ [TextureMapper] [BitmapTexturePool] Use appropriate list size when freeing textures
+ https://bugs.webkit.org/show_bug.cgi?id=155105
+
+ Reviewed by Žan Doberšek.
+
+ Use appropriate list size when releasing the textures used as attachment.
+ This is a fix for the patch to https://bugs.webkit.org/show_bug.cgi?id=154965.
+
+ No new tests because no new functionality was added.
+
+ * platform/graphics/texmap/BitmapTexturePool.cpp:
+ (WebCore::BitmapTexturePool::releaseUnusedTexturesTimerFired):
+
2016-03-06 Benjamin Poulain <[email protected]>
[JSC] Improve codegen of Compare and Test
Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp (198010 => 198011)
--- releases/WebKitGTK/webkit-2.12/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp 2016-03-11 13:49:14 UTC (rev 198010)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp 2016-03-11 13:58:25 UTC (rev 198011)
@@ -92,7 +92,7 @@
for (size_t i = 0; i < m_attachmentTextures.size(); ++i) {
if (m_attachmentTextures[i].m_lastUsedTime < minUsedTime) {
- m_attachmentTextures.remove(i, m_textures.size() - i);
+ m_attachmentTextures.remove(i, m_attachmentTextures.size() - i);
break;
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes