On Mon, Jun 28, 2010 at 1:48 PM, Johannes Schickel <span dir="ltr"><<a href="mailto:lordhoto@scummvm.org">lordhoto@scummvm.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 06/28/2010 10:32 PM, Robert Špalek wrote:
</div>All I know is that it is indeed expensive and thus should be only done
when needed. I think our MADE engine once was affected by too many
palette operations and thus bad performance. I guess testing the engine
on some small devices would be best to determine whether it works fine
or not, at least I'm not sure whether we have any real rule on how
often one can call it per second without worrying too much....</div></blockquote><div><br></div><div>is anybody with a small device willing to check the headline Dragon History, please? the only test needed is to walk from one location to another, and tell me whether the palette fading is fast enough.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000"><div class="im">It might be noteworthy that the ZIP support is only available when zlib
is available. I think some of our ports did not feature zlib support
(not sure right now which ones though). Also when reading files from
the zip archive, they will be first decompressed and read completely
into the memory.</div></div></blockquote><div><br></div><div>I will use compression=none, because the MP3 files inside are incompressible. therefore the files just need to be read into memory, which is, of course, the intention. concerning zlib availability, I'm not sure how our library is implemented, but for reading uncompressed archives zlib is not needed; one just needs to parse the archive header.</div>
</div><br>-- <br>Robert Špalek <<a href="mailto:rspalek@gmail.com">rspalek@gmail.com</a>><br>