版本
4.0-315
分支
master
发布于
7 years, 6 months ago
Windows x64 Windows x86 Android Ubuntu 13.04
提交(Commit)
6cece6b486670dd149c827053a84754c98397ccc
修改者
degasus
修改说明
VideoCommon: create native texture pool

We often need the same native texture objects for new textures. This commit
try to avoid destroying and creation of this textures by pooling them.

This should be a big performance gain for some efb2ram games as they may
overwrites partially a cached texture (which would be deleted) and afterwards
try to read it.

Creating/destroying sounds like an easy task, but it isn't. eg the nvidia ogl
driver synchonize their threads do avoid use-after-free issues.