[Scummvm-devel] Bitdepth/pixel format API concerns

Willem Jan Palenstijn wjp at usecode.org
Sun Jun 14 20:49:33 CEST 2009


On Sun, Jun 14, 2009 at 08:41:01PM +0200, Marcus Comstedt wrote:
> 
> Hm, regarding the case where the backend _does_ implement
> transactions, what happens if there is a change of pixel
> format and a copyRectToScreen() in the same transaction?
> Or is that not allowed?

A transaction is a sequence of graphics mode changes (such as pixel format,
screen size, scaler, windowed/fullscreen). It's safe to assume there
will be no drawing commands in the middle of a transaction.

-Willem Jan




More information about the Scummvm-devel mailing list