Renderer* AquaOglGlue::createRenderHandler() { // GNASH_REPORT_FUNCTION; Renderer* renderer = create_Renderer_ogl(); #ifdef FIX_I810_LOD_BIAS glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _tex_lod_bias); #endif return renderer; }
Renderer* Qt4OglGlue::createRenderHandler() { _renderer = create_Renderer_ogl(); if ( ! _renderer ) { throw GnashException("Could not create OpenGL renderer"); } return _renderer; }
Renderer* GtkGlExtGlue::createRenderHandler() { // GNASH_REPORT_FUNCTION; GdkGLContext *glcontext = gtk_widget_get_gl_context (_drawing_area); GdkGLDrawable *gldrawable = gtk_widget_get_gl_drawable (_drawing_area); // Attach our OpenGL context to the drawing_area. gdk_gl_drawable_make_current(gldrawable, glcontext); Renderer* renderer = create_Renderer_ogl(); #ifdef FIX_I810_LOD_BIAS glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _tex_lod_bias); #endif return renderer; }