xbmc-rpi: add patch to speedup the texture cache a bit

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-25 09:11:03 +02:00
parent 5ff4021bf5
commit 6b2e326f0d

View File

@ -0,0 +1,12 @@
diff -Naur xbmc-rpi-c767513/xbmc/TextureCache.cpp xbmc-rpi-c767513.patch/xbmc/TextureCache.cpp
--- xbmc-rpi-c767513/xbmc/TextureCache.cpp 2012-05-17 13:59:46.000000000 +0200
+++ xbmc-rpi-c767513.patch/xbmc/TextureCache.cpp 2012-05-22 18:41:37.116511846 +0200
@@ -92,7 +92,7 @@
CTextureDetails details;
if (GetCachedTexture(url, details))
{
- IncrementUseCount(details);
+// IncrementUseCount(details);
return GetCachedPath(details.file);
}
return "";