From: Brian Paul Date: Sat, 17 Aug 2002 00:23:19 +0000 (+0000) Subject: added new GLUT features X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af3265fabd7f385aa8aaf207416674799869dc95;p=mesa.git added new GLUT features --- diff --git a/docs/RELNOTES-4.1 b/docs/RELNOTES-4.1 index 78870e67f88..bffa36912cf 100644 --- a/docs/RELNOTES-4.1 +++ b/docs/RELNOTES-4.1 @@ -101,6 +101,41 @@ DOS needs updating +New features in GLUT +-------------------- + +1. Frames per second printing + + GLUT now looks for an environment variable called "GLUT_FPS". If it's + set, GLUT will print out a frames/second statistic to stderr when + glutSwapBuffers() is called. By default, frames/second is computed + and displayed once every 5 seconds. You can specify a different + interval (in milliseconds) when you set the env var. For example + 'export GLUT_FPS=1000' or 'setenv GLUT_FPS 1000' will set the interval + to one second. + + NOTE: the demo or application must call the glutInit() function for + this to work. Otherwise, the env var will be ignored. + + Finally, this feature may not be reliable in multi-window programs. + + +2. glutGetProcAddress() function + + The new function: + + void *glutGetProcAddress(const char *procName) + + is a wrapper for glXGetProcAddressARB() and wglGetProcAddress(). It + lets you dynamically get the address of an OpenGL function at runtime. + The GLUT_API_VERSION has been bumped to 5, but I haven't bumped the + GLUT version number from 3.7 since that's probably Mark Kilgard's role. + + This function should probably also be able to return the address of + GLUT functions themselves, but it doesn't do that yet. + + + XXX Things To Do Yet XXXX ------------------------- @@ -215,4 +250,4 @@ are some things to change: ---------------------------------------------------------------------- -$Id: RELNOTES-4.1,v 1.14 2002/08/01 15:16:46 brianp Exp $ +$Id: RELNOTES-4.1,v 1.15 2002/08/17 00:23:19 brianp Exp $ diff --git a/docs/VERSIONS b/docs/VERSIONS index fc2f40d97f8..6b730d9249b 100644 --- a/docs/VERSIONS +++ b/docs/VERSIONS @@ -1,4 +1,4 @@ -$Id: VERSIONS,v 1.94 2002/08/07 00:46:17 brianp Exp $ +$Id: VERSIONS,v 1.95 2002/08/17 00:23:19 brianp Exp $ Mesa Version History @@ -1002,6 +1002,8 @@ Mesa Version History - faster software texturing in some cases (i.e. trilinear filtering) - new OSMesaGetProcAddress() function - more blend modes implemented with MMX code (Jose Fonseca) + - added glutGetProcAddress() to GLUT + - added GLUT_FPS env var to compute frames/second in glutSwapBuffers() Bug fixes: - better mipmap LOD computation (prevents excessive blurriness) - OSMesaMakeCurrent() didn't recognize buffer size changes @@ -1011,5 +1013,6 @@ Mesa Version History - clamp colors to [0,1] in OSMesa if GLchan==GLfloat (Gerk Huisma) - fixed divide by zero error in NURBS tessellator (Jon Perry) - fixed GL_LINEAR fog bug by adding clamping + - fixed FP exceptions found using Alpha CPU Changes: - New spec file and Python code to generate some GL dispatch files