Translations update
[openttd/fttd.git] / src / blitter / 32bpp_ssse3.hpp
blob0f94650816a02817ebcf00f38b685f88844f76b7
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
10 /** @file 32bpp_ssse3.hpp SSSE3 32 bpp blitter. */
12 #ifndef BLITTER_32BPP_SSSE3_HPP
13 #define BLITTER_32BPP_SSSE3_HPP
15 #ifdef WITH_SSE
17 #include "32bpp_sse2.hpp"
19 /** The SSSE3 32 bpp blitter (without palette animation). */
20 class Blitter_32bppSSSE3 : public Blitter_32bppSSE2 {
21 public:
22 static const char name[]; ///< Name of the blitter.
23 static const char desc[]; ///< Description of the blitter.
25 static bool usable (void)
27 return HasCPUIDFlag (1, 2, 9);
30 /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
31 template <BlitterMode mode, SSESprite::ReadMode read_mode, SSESprite::BlockType bt_last, bool translucent>
32 void Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom);
35 #endif /* WITH_SSE */
36 #endif /* BLITTER_32BPP_SSSE3_HPP */