hrydgard/ppsspp — pull request #1646 by unknownbrackets (2013-05-03 08:30:35+00:00)
Title: Minor texture cache optimizations + blend fix

Three things:
* Do the `convertColors()` on the CLUT, not after expanding the texture.

Affects e.g. Star Ocean, 3rd Birthday, FF3, and A Space Shooter for 2 Bucks
* When no packing is needed, read the texture directly from PSP RAM (no copy.)

Affects e.g. LittleBigPlanet, Ys Seven, Hexyz Force, Crimson Gem Saga, etc.
* Don't double alpha blend when the non-doubled alpha is used in the other blend func (fixes LittleBigPlanet vignette.)

The performance impact in game is non-existent, since the textures are already loaded. But it can improve churn in other games, and may help load times a little bit when things initially come on screen.

-[Unknown]