[Scummvm-devel] Bitdepth/pixel format API concerns
Marcus Comstedt
marcus at mc.pp.se
Sun Jun 14 19:43:31 CEST 2009
Johannes Schickel <lordhoto at gmail.com> writes:
> We did made that decision btw. here's how the final API should look
> like:
> http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/
One thing I'm missing here is how OSystem::initFormat() will
relate to OSystem::initSize(). In order to allocate a screen
buffer, both the screen size and the number of bytes per pixel
needs to be known. Will these two methods be called in a particular
order? Can the format be changed without re-initing the size?
In that case, is the contents of the screen buffer supposed to be
retained?
// Marcus
More information about the Scummvm-devel
mailing list