aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/TextureSender
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-23 11:00:36 +0000
committerTeravus Ovares2009-01-23 11:00:36 +0000
commit74df9f9c816f54fc60b131a347e7e1f1988b1fe2 (patch)
tree9f8080c00b583a68c9cfa595e62473d4018970c5 /OpenSim/Region/Environment/Modules/Agent/TextureSender
parentadd event queue code for sending group IM for future group support (diff)
downloadopensim-SC-74df9f9c816f54fc60b131a347e7e1f1988b1fe2.zip
opensim-SC-74df9f9c816f54fc60b131a347e7e1f1988b1fe2.tar.gz
opensim-SC-74df9f9c816f54fc60b131a347e7e1f1988b1fe2.tar.bz2
opensim-SC-74df9f9c816f54fc60b131a347e7e1f1988b1fe2.tar.xz
* 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.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/TextureSender')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/TextureSender/J2KDecoderModule.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureSender/J2KDecoderModule.cs b/OpenSim/Region/Environment/Modules/Agent/TextureSender/J2KDecoderModule.cs
index 2a565ee..53e66fc 100644
--- a/OpenSim/Region/Environment/Modules/Agent/TextureSender/J2KDecoderModule.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/TextureSender/J2KDecoderModule.cs
@@ -146,6 +146,16 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender
146 } 146 }
147 } 147 }
148 148
149 /// <summary>
150 /// Provides a synchronous decode so that caller can be assured that this executes before the next line
151 /// </summary>
152 /// <param name="AssetId"></param>
153 /// <param name="j2kdata"></param>
154 public void syncdecode(UUID AssetId, byte[] j2kdata)
155 {
156 doJ2kDecode(AssetId, j2kdata);
157 }
158
149 #endregion 159 #endregion
150 160
151 /// <summary> 161 /// <summary>