Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GTK_GLU_GTKGLEXT_H
00020 #define GTK_GLU_GTKGLEXT_H
00021
00022 #ifdef HAVE_CONFIG_H
00023 #include "gnashconfig.h"
00024 #endif
00025
00026 #include <gtk/gtkgl.h>
00027
00028 #include "Renderer_ogl.h"
00029 #include "gtk_glue.h"
00030 #include "tu_opengl_includes.h"
00031
00032 namespace gnash
00033 {
00034
00035 class GtkGlExtGlue : public GtkGlue
00036 {
00037 public:
00038 GtkGlExtGlue();
00039 ~GtkGlExtGlue();
00040
00041 bool init(int argc, char **argv[]);
00042 void prepDrawingArea(GtkWidget *drawing_area);
00043 Renderer* createRenderHandler();
00044 void render();
00045 void render(int , int , int , int ) { render(); };
00046 void configure(GtkWidget *const widget, GdkEventConfigure *const event);
00047 private:
00048 GdkGLConfig *_glconfig;
00049 #ifdef FIX_I810_LOD_BIAS
00050 float _tex_lod_bias;
00051 #endif
00052 };
00053
00054 }
00055
00056
00057 #endif
00058
00059
00060
00061
00062