* Adds a synchronous jpeg decode for pre-caching purposes

* When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
This commit is contained in:
Teravus Ovares
2009-01-23 11:00:36 +00:00
parent 68978e6e2a
commit 74df9f9c81
3 changed files with 18 additions and 0 deletions

View File

@@ -36,5 +36,6 @@ namespace OpenSim.Region.Environment.Interfaces
public interface IJ2KDecoder
{
void decode(UUID AssetId, byte[] assetData, DecodedCallback decodedReturn);
void syncdecode(UUID AssetId, byte[] j2kdata);
}
}