[PyOpenGL-Users] RE: Profiling PyOpenGL
Brought to you by:
mcfletch
|
From: Mike F. <mcf...@ho...> - 2001-10-12 16:23:58
|
Sorry about the confusion:
OpenGLContext -> My little testing/demo project that tries to simplify
creating PyOpenGL projects. It supports a number of GUI libraries, with the
ability to choose which library is being used (== forcing the request, as
opposed to using the user's preferred GUI). It's available off the PyOpenGL
homepage.
PyGame -> A cross-platform game-development library which includes a basic
GUI environment. It can display an OpenGL context and is one of the GUI
libraries supported by OpenGLContext.
Here's what the phrase amounted to in real code:
from OpenGLContext import testingcontext
BaseContext, MainFunction = testingcontext.getInteractive( ('pygame',) )
# stuff that's the same as any of the
# OpenGLContext tests
...
# the other changed section
if __name__ == "__main__":
import profile
profile.run( "MainFunction ( TestContext)")
HTH,
Mike
-----Original Message-----
From: Kerim Borchaev ( WarKiD ) [mailto:wa...@st...]
Sent: October 12, 2001 04:19
To: Mike Fletcher
Cc: pyt...@py...; PyOpenGL (E-mail)
Subject: Re[2]: Profiling PyOpenGL
Thanks you (and Georg) for clarifying this glutMainLoop thing.
But I didn't quite understand this phrase:
> forcing a request for a PyGame context in one of the OpenGLContext
> tests
(sorry for sounding dumb but I'm just starting to learn (Py)OpenGl )
Best regards,
Kerim mailto:wa...@st...
...
|