From 74df9f9c816f54fc60b131a347e7e1f1988b1fe2 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 23 Jan 2009 11:00:36 +0000 Subject: * 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. --- OpenSim/Region/Environment/Interfaces/IJ2KDecoder.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/Environment/Interfaces') diff --git a/OpenSim/Region/Environment/Interfaces/IJ2KDecoder.cs b/OpenSim/Region/Environment/Interfaces/IJ2KDecoder.cs index 44b9289..2a37195 100644 --- a/OpenSim/Region/Environment/Interfaces/IJ2KDecoder.cs +++ b/OpenSim/Region/Environment/Interfaces/IJ2KDecoder.cs @@ -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); } } -- cgit v1.1