#853: Can't load OpenGL
---------------------+------------------------------------------------------
Reporter: fperrad | Owner: NotFound
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: library | Version: 1.3.0
Severity: medium | Keywords:
Lang: | Patch: new
Platform: all |
---------------------+------------------------------------------------------
Comment(by japhb):
From #parrot, with minor edits:
<fperrad> japhb, what do you think about a refactor of
config/gen/opengl.pm with template ?
<japhb> fperrad: I like having OpenGL.pir and OpenGL_funcs.pir separate,
because OpenGL.pir is hand-written code, and OpenGL_funcs.pir is
completely generated. It makes it easy to be clear about what is safe to
hand-edit and what is not. It also makes clear what parts opengl.pm
alters and what it does not. That's why I went with separate files and a
.include. There is also the GLUT callbacks library, which is pseudo-
templated; but there's not a whole lot I can do about that cleanly. The
GLUT callbacks library is an abomination, and definitely not thread- or
interpreter-safe, but there's just no other way with current Parrot NCI.
<japhb> Adding this Q/A to ticket ....
<fperrad> japhb, OK for the record
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/853#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets