Plug more leaks (in the test, not the core)
[gnash.git] / gui / kde / kde_glue_opengl.h
blob1ef3ac07c5331f545f0d83dc1bcf1c79e78c491f
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
3 // Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 #include <qapplication.h>
20 #include "kde_glue.h"
21 #include "Renderer_ogl.h"
22 #include <qgl.h>
25 namespace gnash
28 class KdeOpenGLGlue : public KdeGlue
30 public:
31 KdeOpenGLGlue();
32 ~KdeOpenGLGlue();
34 bool init(int argc, char **argv[]);
35 void prepDrawingArea(QWidget *drawing_area);
36 Renderer* createRenderHandler();
37 void render();
38 private:
39 #ifdef FIX_I810_LOD_BIAS
40 float _tex_lod_bias;
41 #endif