LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 static GLuint left_eye_vinterlace_mask[32]; | 75 static GLuint left_eye_vinterlace_mask[32]; |
76 static GLuint right_eye_vinterlace_mask[32]; | 76 static GLuint right_eye_vinterlace_mask[32]; |
77 | 77 |
78 /** | 78 /** |
79 * 32x32 bit masks for hinterlace stereo mode. | 79 * 32x32 bit masks for hinterlace stereo mode. |
80 * Left eye = &hinterlace_mask[0] | 80 * Left eye = &hinterlace_mask[0] |
81 * Right eye = &hinterlace_mask[1] | 81 * Right eye = &hinterlace_mask[1] |
82 */ | 82 */ |
83 static GLuint hinterlace_mask[33]; | 83 static GLuint hinterlace_mask[33]; |
84 | 84 |
| 85 RAS_OpenGLRasterizer::RAS_OpenGLRasterizer(RAS_ICanvas* canvas, int storage) |
| 86 :RAS_IRasterizer(canvas), |
| 87 m_2DCanvas(canvas), |
| 88 m_fogenabled(false), |
85 m_motionblurvalue(-1.0), | 89 m_motionblurvalue(-1.0), |
86 m_texco_num(0), | 90 m_texco_num(0), |
87 m_attrib_num(0), | 91 m_attrib_num(0), |
88 //m_last_blendmode(GPU_BLEND_SOLID), | 92 //m_last_blendmode(GPU_BLEND_SOLID), |
89 m_last_frontface(true), | 93 m_last_frontface(true), |
90 m_materialCachingInfo(0) | 94 m_materialCachingInfo(0) |
91 { | 95 { |
LEFT | RIGHT |