diff options
author | Willem Jan Palenstijn | 2013-08-19 23:07:48 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-08-19 23:14:20 +0200 |
commit | 91c2f8fb097f65801f6f97340e0a4a8dbead6404 (patch) | |
tree | fa7a7cd81fee64cfebd81dcab010baf22ca7ebc6 /engines/wintermute/graphics/transparent_surface.h | |
parent | efbf1ff5f999786675fdf28b53970af0eacfa759 (diff) | |
download | scummvm-rg350-91c2f8fb097f65801f6f97340e0a4a8dbead6404.tar.gz scummvm-rg350-91c2f8fb097f65801f6f97340e0a4a8dbead6404.tar.bz2 scummvm-rg350-91c2f8fb097f65801f6f97340e0a4a8dbead6404.zip |
WINTERMUTE: Don't use a lookup table for alpha
This gives a drawTickets() speed increase of about 10% in the JULIA demo
(on a core i7 920).
Diffstat (limited to 'engines/wintermute/graphics/transparent_surface.h')
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.h b/engines/wintermute/graphics/transparent_surface.h index 9d06f3e006..a486e97946 100644 --- a/engines/wintermute/graphics/transparent_surface.h +++ b/engines/wintermute/graphics/transparent_surface.h @@ -114,11 +114,8 @@ struct TransparentSurface : public Graphics::Surface { TransparentSurface *scale(uint16 newWidth, uint16 newHeight) const; TransparentSurface *rotoscale(const TransformStruct &transform) const; - static byte *_lookup; - static void destroyLookup(); private: static void doBlitAlpha(byte *ino, byte *outo, uint32 width, uint32 height, uint32 pitch, int32 inStep, int32 inoStep); - static void generateLookup(); }; /** |