[Haskell-beginners] Performance problem with Haskell/OpenGL/GLFW

Brandon Allbery allbery.b at gmail.com
Sun Mar 10 18:09:24 CET 2013


On Sun, Mar 10, 2013 at 5:38 AM, Jesper Särnesjö <sarnesjo at gmail.com> wrote:

> To remove any possibility of the problem being in GLFW-b or OpenGLRaw,
> I created two new programs, one in Haskell [1] and one in C [2], that
> don't import or include anything related to OpenGL, and that simply
> create a context, check if it is hardware accelerated, and then exit.
> That is all. And still, the Haskell program receives a software
> renderer, while the C program receives a hardware one:
>

Check whether the Haskell OpenGL binding is using the X11 libraries instead
of native GUI. My (possibly incorrect) understanding is that XQuartz does
not yet support OpenGL 3.x directly, so it falls back to software rendering.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130310/87c8d748/attachment.htm>


More information about the Beginners mailing list