aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/SoftwareDriver2_compile_config.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/SoftwareDriver2_compile_config.h208
1 files changed, 104 insertions, 104 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/SoftwareDriver2_compile_config.h b/libraries/irrlicht-1.8/source/Irrlicht/SoftwareDriver2_compile_config.h
index 60d5f62..39e5137 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/SoftwareDriver2_compile_config.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/SoftwareDriver2_compile_config.h
@@ -1,104 +1,104 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt / Thomas Alten 1// Copyright (C) 2002-2012 Nikolaus Gebhardt / Thomas Alten
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __S_VIDEO_2_SOFTWARE_COMPILE_CONFIG_H_INCLUDED__ 5#ifndef __S_VIDEO_2_SOFTWARE_COMPILE_CONFIG_H_INCLUDED__
6#define __S_VIDEO_2_SOFTWARE_COMPILE_CONFIG_H_INCLUDED__ 6#define __S_VIDEO_2_SOFTWARE_COMPILE_CONFIG_H_INCLUDED__
7 7
8#include "IrrCompileConfig.h" 8#include "IrrCompileConfig.h"
9 9
10 10
11// Generic Render Flags for burning's video rasterizer 11// Generic Render Flags for burning's video rasterizer
12// defined now in irrlicht compile config 12// defined now in irrlicht compile config
13 13
14 14
15#ifdef BURNINGVIDEO_RENDERER_BEAUTIFUL 15#ifdef BURNINGVIDEO_RENDERER_BEAUTIFUL
16 #define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT 16 #define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT
17 #define SOFTWARE_DRIVER_2_SUBTEXEL 17 #define SOFTWARE_DRIVER_2_SUBTEXEL
18 #define SOFTWARE_DRIVER_2_BILINEAR 18 #define SOFTWARE_DRIVER_2_BILINEAR
19 #define SOFTWARE_DRIVER_2_LIGHTING 19 #define SOFTWARE_DRIVER_2_LIGHTING
20 #define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR 20 #define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR
21 #define SOFTWARE_DRIVER_2_32BIT 21 #define SOFTWARE_DRIVER_2_32BIT
22 #define SOFTWARE_DRIVER_2_MIPMAPPING 22 #define SOFTWARE_DRIVER_2_MIPMAPPING
23 #define SOFTWARE_DRIVER_2_USE_WBUFFER 23 #define SOFTWARE_DRIVER_2_USE_WBUFFER
24 #define SOFTWARE_DRIVER_2_TEXTURE_TRANSFORM 24 #define SOFTWARE_DRIVER_2_TEXTURE_TRANSFORM
25 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 0 25 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 0
26#endif 26#endif
27 27
28//! Set Flags for Windows Mobile 28//! Set Flags for Windows Mobile
29#ifdef BURNINGVIDEO_RENDERER_CE 29#ifdef BURNINGVIDEO_RENDERER_CE
30 #define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT 30 #define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT
31 #define SOFTWARE_DRIVER_2_SUBTEXEL 31 #define SOFTWARE_DRIVER_2_SUBTEXEL
32 //#define SOFTWARE_DRIVER_2_BILINEAR 32 //#define SOFTWARE_DRIVER_2_BILINEAR
33 //#define SOFTWARE_DRIVER_2_LIGHTING 33 //#define SOFTWARE_DRIVER_2_LIGHTING
34 #define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR 34 #define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR
35 #define SOFTWARE_DRIVER_2_16BIT 35 #define SOFTWARE_DRIVER_2_16BIT
36 #define SOFTWARE_DRIVER_2_MIPMAPPING 36 #define SOFTWARE_DRIVER_2_MIPMAPPING
37 #define SOFTWARE_DRIVER_2_USE_WBUFFER 37 #define SOFTWARE_DRIVER_2_USE_WBUFFER
38 //#define SOFTWARE_DRIVER_2_TEXTURE_TRANSFORM 38 //#define SOFTWARE_DRIVER_2_TEXTURE_TRANSFORM
39 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 128 39 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 128
40#endif 40#endif
41 41
42#ifdef BURNINGVIDEO_RENDERER_FAST 42#ifdef BURNINGVIDEO_RENDERER_FAST
43 #define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT 43 #define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT
44 #define SOFTWARE_DRIVER_2_SUBTEXEL 44 #define SOFTWARE_DRIVER_2_SUBTEXEL
45 //#define SOFTWARE_DRIVER_2_BILINEAR 45 //#define SOFTWARE_DRIVER_2_BILINEAR
46 //#define SOFTWARE_DRIVER_2_LIGHTING 46 //#define SOFTWARE_DRIVER_2_LIGHTING
47 //#define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR 47 //#define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR
48 #define SOFTWARE_DRIVER_2_32BIT 48 #define SOFTWARE_DRIVER_2_32BIT
49 #define SOFTWARE_DRIVER_2_MIPMAPPING 49 #define SOFTWARE_DRIVER_2_MIPMAPPING
50 #define SOFTWARE_DRIVER_2_USE_WBUFFER 50 #define SOFTWARE_DRIVER_2_USE_WBUFFER
51 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 0 51 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 0
52#endif 52#endif
53 53
54#ifdef BURNINGVIDEO_RENDERER_ULTRA_FAST 54#ifdef BURNINGVIDEO_RENDERER_ULTRA_FAST
55 #define BURNINGVIDEO_RENDERER_FAST 55 #define BURNINGVIDEO_RENDERER_FAST
56 56
57 //#define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT 57 //#define SOFTWARE_DRIVER_2_PERSPECTIVE_CORRECT
58 #define SOFTWARE_DRIVER_2_SUBTEXEL 58 #define SOFTWARE_DRIVER_2_SUBTEXEL
59 //#define SOFTWARE_DRIVER_2_BILINEAR 59 //#define SOFTWARE_DRIVER_2_BILINEAR
60 //#define SOFTWARE_DRIVER_2_LIGHTING 60 //#define SOFTWARE_DRIVER_2_LIGHTING
61 //#define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR 61 //#define SOFTWARE_DRIVER_2_USE_VERTEX_COLOR
62 //#define SOFTWARE_DRIVER_2_32BIT 62 //#define SOFTWARE_DRIVER_2_32BIT
63 #define SOFTWARE_DRIVER_2_MIPMAPPING 63 #define SOFTWARE_DRIVER_2_MIPMAPPING
64 #define SOFTWARE_DRIVER_2_USE_WBUFFER 64 #define SOFTWARE_DRIVER_2_USE_WBUFFER
65 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 0 65 #define SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE 0
66#endif 66#endif
67 67
68// Derivate flags 68// Derivate flags
69 69
70// texture format 70// texture format
71#ifdef SOFTWARE_DRIVER_2_32BIT 71#ifdef SOFTWARE_DRIVER_2_32BIT
72 #define BURNINGSHADER_COLOR_FORMAT ECF_A8R8G8B8 72 #define BURNINGSHADER_COLOR_FORMAT ECF_A8R8G8B8
73#else 73#else
74 #define BURNINGSHADER_COLOR_FORMAT ECF_A1R5G5B5 74 #define BURNINGSHADER_COLOR_FORMAT ECF_A1R5G5B5
75#endif 75#endif
76 76
77// mip mapping 77// mip mapping
78#if defined ( SOFTWARE_DRIVER_2_MIPMAPPING ) 78#if defined ( SOFTWARE_DRIVER_2_MIPMAPPING )
79 #if defined( BURNINGVIDEO_RENDERER_BEAUTIFUL ) 79 #if defined( BURNINGVIDEO_RENDERER_BEAUTIFUL )
80 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 8 80 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 8
81 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0 81 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0
82 #elif defined ( BURNINGVIDEO_RENDERER_CE ) 82 #elif defined ( BURNINGVIDEO_RENDERER_CE )
83 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 4 83 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 4
84 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0 84 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0
85 #else 85 #else
86 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 8 86 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 8
87 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0 87 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0
88 #endif 88 #endif
89#else 89#else
90 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 1 90 #define SOFTWARE_DRIVER_2_MIPMAPPING_MAX 1
91 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0 91 #define SOFTWARE_DRIVER_2_MIPMAPPING_LOD_BIAS 0
92#endif 92#endif
93 93
94#define SOFTWARE_DRIVER_2_MIPMAPPING_SCALE (8/SOFTWARE_DRIVER_2_MIPMAPPING_MAX) 94#define SOFTWARE_DRIVER_2_MIPMAPPING_SCALE (8/SOFTWARE_DRIVER_2_MIPMAPPING_MAX)
95 95
96#ifndef REALINLINE 96#ifndef REALINLINE
97 #ifdef _MSC_VER 97 #ifdef _MSC_VER
98 #define REALINLINE __forceinline 98 #define REALINLINE __forceinline
99 #else 99 #else
100 #define REALINLINE inline 100 #define REALINLINE inline
101 #endif 101 #endif
102#endif 102#endif
103 103
104#endif 104#endif