diff options
author | Colin Snover | 2017-07-03 20:12:39 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-06 19:12:38 -0500 |
commit | 7057f232d75732c320fb470a8632a4c2f055a47f (patch) | |
tree | fe9bb0cb48530eee2c6a35fd911240e46efcce21 /engines/sci/graphics/frameout.h | |
parent | 8cb35442c073b5ed5a0f3fa7d5e627bdd85af229 (diff) | |
download | scummvm-rg350-7057f232d75732c320fb470a8632a4c2f055a47f.tar.gz scummvm-rg350-7057f232d75732c320fb470a8632a4c2f055a47f.tar.bz2 scummvm-rg350-7057f232d75732c320fb470a8632a4c2f055a47f.zip |
SCI32: Improve kPlayVMD rendering
1. Added a new game option for linear interpolation when scaling
overlay-mode video in ScummVM builds with USE_RGB_COLOR;
2. Implemented SCI2.1-variant of the VMD player renderer (fixes
Trac#9857), which bypasses the engine's normal rendering
pipeline;
3. Improved accuracy of the SCI3-variant of the VMD player by
writing HunkPalettes into the VMD's CelObjMem instead of
submitting palettes directly to GfxPalette32.
Diffstat (limited to 'engines/sci/graphics/frameout.h')
-rw-r--r-- | engines/sci/graphics/frameout.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h index 4bdb172e5e..26732d5c01 100644 --- a/engines/sci/graphics/frameout.h +++ b/engines/sci/graphics/frameout.h @@ -340,6 +340,19 @@ public: void palMorphFrameOut(const int8 *styleRanges, PlaneShowStyle *showStyle); /** + * Draws the given rect from the internal screen buffer to hardware without + * processing any other graphics updates except for cursor changes. + */ + void directFrameOut(const Common::Rect &showRect); + +#ifdef USE_RGB_COLOR + /** + * Sends the entire internal screen buffer and palette to hardware. + */ + void resetHardware(); +#endif + + /** * Modifies the raw pixel data for the next frame with * new palette indexes based on matched style ranges. */ |