<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 1, 2015 at 12:18 AM, Miro Kropáček <span dir="ltr"><<a href="mailto:miro.kropacek@gmail.com" target="_blank">miro.kropacek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>during my experiments with SDL and ScummVM I've noticed that Gobliiins (both EGA and VGA versions) for some strange reason asks SDL for 320x240x16bpp resolution. This is nothing on current PCs but on our platform it has fatal consequences because palette updates have to be done via full framebuffer refresh and it's really slow.</div><div><br></div></div></blockquote><div><br></div><div>It is always beneficial to mention what platform you talk about with "our platform". I can't figure out what you mean by "our platform" to be honest...<br><br></div><div>But anyway: that's actually expected. ScummVM asks for a 16bpp output mode with SDL. We always output 16bpp and do any CLUT8 to 16bpp conversion on our own. This is mostly because our overlay (i.e. our GUI) does not render at 8bpp modes but only 16bpp. Thus our whole backend simply uses 16bpp internally.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>I tried to set VGA and EGA as the rendering engine but no change. Is there a reason for that? Or some global switch which would force Gobliiins to render in 8bit?</div></div></blockquote><div><br></div><div>Gobliiins renders internally as CLUT8 AFAIK. But, as mentioned earlier, ScummVM always requests a 16bpp output. That means the gob engine is completely innocent here. It also means: you are out of luck, you can't make ScummVM output 8bpp without substantial code changes.<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Btw, even in a version compiled with --disable-16bit I could observe that, really unexpected.</div><br></div></blockquote></div><br></div><div class="gmail_extra">The --disable-16bit options is only to disallow the engines to use a 16bpp graphics mode on their own (or to be precise to disallow them from using anything but CLUT8).<br><br></div><div class="gmail_extra">// Johannes<br></div></div>