From 8ec146184276694c40710549c0cf0127c523414b Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 24 Apr 2016 12:06:16 +0200 Subject: [PATCH] gsdx: increase the number of texture in the pool It could slightly increase the VRAM requirement but it will reduce texture allocation/unallocation at start/end of frame. --- plugins/GSdx/GSDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSDevice.cpp b/plugins/GSdx/GSDevice.cpp index b871e51f7c..c88a242a04 100644 --- a/plugins/GSdx/GSDevice.cpp +++ b/plugins/GSdx/GSDevice.cpp @@ -194,7 +194,7 @@ void GSDevice::AgePool() { m_frame++; - while(m_pool.size() > 20 && m_frame - m_pool.back()->last_frame_used > 10) + while(m_pool.size() > 40 && m_frame - m_pool.back()->last_frame_used > 10) { delete m_pool.back();