summaryrefslogtreecommitdiff
path: root/Source/Android/jni/AndroidCommon/AndroidCommon.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-01-18 12:59:25 +0100
committerJosJuice <josjuice@gmail.com>2026-01-18 13:04:06 +0100
commitfb07406f102eaa2d237c95c35e8853680d902b6a (patch)
tree9177a4784a336d799ed01d64f727ce3126af520d /Source/Android/jni/AndroidCommon/AndroidCommon.cpp
parent373e35ed5b3202bd91c05f6dd1f49fcee449d2a5 (diff)
VideoCommon: Defer creating TextureInfo
TextureCacheBase::LoadImpl has a hot path where the passed-in TextureInfo never gets used. Instead of passing in a TextureInfo, let's pass in the stage and create the TextureInfo from the stage if needed. This unlocks somewhere above an additional 4% performance boost in the Hoth level of Rogue Squadron 2 on my PC. Performance varies, making it difficult for me to measure, so treat this as a very approximate number.
Diffstat (limited to 'Source/Android/jni/AndroidCommon/AndroidCommon.cpp')
0 files changed, 0 insertions, 0 deletions