[sldev] Cache politics: performance vs obfuscation

Argent Stonecutter secret.argent at gmail.com
Tue Jun 10 20:22:07 PDT 2008


On 2008-06-10, at 13:57, Laurent Laborde wrote:
> If LL develop a custom image format, it will cost a lot of ressource
> to work on optimization, etc ...

The 'custom image format' under discussion is just "dump the decoded  
texture in whatever format it exists in memory, along with associated  
metadata, with a constant-cost obfuscation layer such as XORing the  
content with some constant secret."

There is no optimization necessary, because there's no codec, and  
miminal overhead: it's a straight copy and a tight "XOR" loop. Even  
simple RLL encoding is more overhead.



More information about the SLDev mailing list