aqua_ogl_glue.h

Go to the documentation of this file.
00001 // 
00002 //   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
00003 // 
00004 // This program is free software; you can redistribute it and/or modify
00005 // it under the terms of the GNU General Public License as published by
00006 // the Free Software Foundation; either version 3 of the License, or
00007 // (at your option) any later version.
00008 // 
00009 // This program is distributed in the hope that it will be useful,
00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 // GNU General Public License for more details.
00013 // 
00014 // You should have received a copy of the GNU General Public License
00015 // along with this program; if not, write to the Free Software
00016 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00017 
00018 /* $Id: aqua__ogl__glue_8h-source.html,v 1.1 2008/03/07 02:36:48 bjacques Exp $ */
00019 
00020 #ifndef AQUA_OGL_GLUE_H
00021 #define AQUA_OGL_GLUE_H
00022 
00023 #include "aqua_glue.h"
00024 #include <AGL/agl.h>
00025 
00026 using namespace std;
00027 
00028 namespace gnash
00029 {
00030 
00031 class AquaOglGlue : public AquaGlue
00032 {
00033   public:
00034     AquaOglGlue();
00035     virtual ~AquaOglGlue();
00036 
00037     bool init(int argc, char ***argv);
00038     render_handler* createRenderHandler();
00039     bool prepDrawingArea(int width, int height, AGLDrawable drawable);
00040     void setInvalidatedRegions(const InvalidatedRanges& /* ranges */);
00041     void render();
00042    private:
00043 #ifdef FIX_I810_LOD_BIAS
00044     float _tex_lod_bias;
00045 #endif
00046     AGLContext _context;
00047 };
00048 }
00049 
00050 #endif /* AQUA_OGL_GLUE_H */

Generated on Thu Mar 6 18:25:06 2008 for Gnash by  doxygen 1.5.4