(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as 32bpp-simple (based on the work of frosch)

-Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
This commit is contained in:
truelight
2007-09-09 23:16:01 +00:00
parent 3de2c716df
commit f827093ba7
7 changed files with 172 additions and 13 deletions

View File

@@ -5,10 +5,10 @@
#ifndef BLITTER_32BPP_ANIM_HPP
#define BLITTER_32BPP_ANIM_HPP
#include "32bpp_simple.hpp"
#include "32bpp_optimized.hpp"
#include "factory.hpp"
class Blitter_32bppAnim : public Blitter_32bppSimple {
class Blitter_32bppAnim : public Blitter_32bppOptimized {
private:
uint8 *anim_buf; ///< In this buffer we keep track of the 8bpp indexes so we can do palette animation
int anim_buf_width;