On Fri, 2010-12-10 at 10:12 -0500, Yuval Levy wrote:
> Enblend (properly compiled) has had GPU blending for longer than Hugin has 
> had 
> GPU remapping.
> 
> enblend --gpu

This isn't working on my system. It would be a more user friendly not
working with the attached patch.

If both nona and enblend have GPU support, would be possible to get nona
to render to a texture that enblend picks up? This would prevent copying
the image from video RAM to main RAM, encoding an image file, decoding
it again, then copying it back to VRAM.

-James

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
diff -r 77fbc2c95fb5 src/gpu.cc
--- a/src/gpu.cc	Sun Sep 05 17:04:20 2010 +0200
+++ b/src/gpu.cc	Sat Dec 11 16:43:48 2010 +0000
@@ -218,16 +218,19 @@
     const GLboolean has_arb_vertex_shader = glewGetExtension("GL_ARB_vertex_shader");
     const GLboolean has_arb_shader_objects = glewGetExtension("GL_ARB_shader_objects");
     const GLboolean has_arb_shading_language = glewGetExtension("GL_ARB_shading_language_100");
+    const GLboolean has_arb_texture_float = glewGetExtension("GL_ARB_texture_float");
 
     if (!(has_arb_fragment_shader &&
           has_arb_vertex_shader &&
           has_arb_shader_objects &&
-          has_arb_shading_language)) {
+          has_arb_shading_language &&
+          has_arb_texture_float)) {
         const char* msg[] = {"false", "true"};
         cerr << command << ": extension GL_ARB_fragment_shader = " << msg[has_arb_fragment_shader] << "\n"
              << command << ": extension GL_ARB_vertex_shader = " << msg[has_arb_vertex_shader] << "\n"
              << command << ": extension GL_ARB_shader_objects = " << msg[has_arb_shader_objects] << "\n"
              << command << ": extension GL_ARB_shading_language_100 = " << msg[has_arb_shading_language] << "\n"
+             << command << ": extension GL_ARB_texture_float = " << msg[has_arb_texture_float] << "\n"
              << command << ": graphics card lacks the necessary extensions for \"--gpu\";" << "\n"
              << command << ": \"--gpu\" flag is not going to work on this machine" << endl;
 #ifdef HAVE_APPLE_OPENGL_FRAMEWORK

Reply via email to