aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv/movieplayer.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-10-14 20:44:44 +0000
committerEugene Sandulenko2010-10-14 20:44:44 +0000
commitf67bbc4eccd483e329845c05c8aa2dc5ab6f8215 (patch)
treead4db0272853566115c4846a4efc580790f81ff8 /engines/sword25/fmv/movieplayer.h
parent00a477fa79c3b9d5317203a9f839fac04ffe8b1d (diff)
downloadscummvm-rg350-f67bbc4eccd483e329845c05c8aa2dc5ab6f8215.tar.gz
scummvm-rg350-f67bbc4eccd483e329845c05c8aa2dc5ab6f8215.tar.bz2
scummvm-rg350-f67bbc4eccd483e329845c05c8aa2dc5ab6f8215.zip
SWORD25: Attempt to optimize movie rendering
Current code makes about 5 blits of each frame which is a huge overhead. This code is an attempt to make that 1. Doesn't work yet as the rendering pipe keeps blitting invisible pictures. svn-id: r53459
Diffstat (limited to 'engines/sword25/fmv/movieplayer.h')
-rw-r--r--engines/sword25/fmv/movieplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sword25/fmv/movieplayer.h b/engines/sword25/fmv/movieplayer.h
index c02285df74..26b5cdd0d8 100644
--- a/engines/sword25/fmv/movieplayer.h
+++ b/engines/sword25/fmv/movieplayer.h
@@ -140,6 +140,9 @@ private:
TheoraDecoder _decoder;
+ Graphics::Surface *_backSurface;
+ int _outX, _outY;
+
RenderObjectPtr<Bitmap> _outputBitmap;
};