Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00012 #ifndef BLITTER_32BPP_SSE4_HPP
00013 #define BLITTER_32BPP_SSE4_HPP
00014
00015 #ifdef WITH_SSE
00016
00017 #ifndef SSE_VERSION
00018 #define SSE_VERSION 4
00019 #endif
00020
00021 #ifndef FULL_ANIMATION
00022 #define FULL_ANIMATION 0
00023 #endif
00024
00025 #include "32bpp_ssse3.hpp"
00026
00028 class Blitter_32bppSSE4 : public Blitter_32bppSSSE3 {
00029 public:
00030 void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
00031 template <BlitterMode mode, Blitter_32bppSSE_Base::ReadMode read_mode, Blitter_32bppSSE_Base::BlockType bt_last, bool translucent>
00032 void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);
00033 const char *GetName() { return "32bpp-sse4"; }
00034 };
00035
00037 class FBlitter_32bppSSE4: public BlitterFactory {
00038 public:
00039 FBlitter_32bppSSE4() : BlitterFactory("32bpp-sse4", "32bpp SSE4 Blitter (no palette animation)", HasCPUIDFlag(1, 2, 19)) {}
00040 Blitter *CreateInstance() { return new Blitter_32bppSSE4(); }
00041 };
00042
00043 #endif
00044 #endif