| 1 |
Fix segfault in glutMainLoop() for test.pl on vista |
| 2 |
* Build debug perl for win32 |
| 3 |
* Get gdb for MinGW |
| 4 |
* Same with MSVC 6.0 and latest |
| 5 |
* Does same code with Prima::OpenGL not segfault? |
| 6 |
|
| 7 |
|
| 8 |
Fix current POGL configuration and build process |
| 9 |
* Clean up use of configuration information |
| 10 |
* Make the compile and config results unambiguous |
| 11 |
* Compile flags have two types |
| 12 |
* System info flags: HAVE_GLX, HAVE_GLUT, ... |
| 13 |
* Build flags: BUILD_GLUT, BUILD_FREEGLUT, ... |
| 14 |
* Exactly what libraries are being used |
| 15 |
* Library versions and locations/paths |
| 16 |
* What are the compile and link configuration |
| 17 |
* split out compile/link by libraries |
| 18 |
* OpenGL |
| 19 |
* GLU |
| 20 |
* GLUT |
| 21 |
* GLX |
| 22 |
* What bindings are actually enabled? |
| 23 |
* Use the same information to build POGL as glversion |
| 24 |
* Refactor Makefile.PL to be comprehensible. |
| 25 |
* strip out unused options |
| 26 |
* remove include and link directories that do not exist |
| 27 |
* replace make of glversion by perl based functionality |
| 28 |
* toolkit option: GLUT and FreeGLUT |
| 29 |
* interface option: GLX/unix, WGL/win32, [ AGL/CGL? ] |
| 30 |
|
| 31 |
|
| 32 |
Miscellaneous portability improvements |
| 33 |
* Convert malloc() and calloc() calls to Newx(), Newxc(), and Newxz() |
| 34 |
* Convert free() to Safefree() to match. |
| 35 |
|
| 36 |
|
| 37 |
Resolve ASPerl PPM build problems: |
| 38 |
* win32 fails because of the FreeGLUT install during Makefile.PL |
| 39 |
* linux fails because FreeGLUT is not found |
| 40 |
* Mac OS X fails because the GLUT compile env is not right |
| 41 |
* What does ASPerl do re external packages needed to build? |
| 42 |
|
| 43 |
|
| 44 |
Evaluate local include directory usage |
| 45 |
* needed for win32 since we install |
| 46 |
* check we're using the systemwide files |
| 47 |
* if not, why not |
| 48 |
|
| 49 |
|
| 50 |
Evaluate strategy for legacy POGL going forward: |
| 51 |
* Factor out RPN, OGA, ... |
| 52 |
* Can implementation be less OGA specific |
| 53 |
* Support OGA, PDLs, ... |
| 54 |
* What about using just PDL::Core stuff |
| 55 |
|
| 56 |
|
| 57 |
Enhance CPAN Testers automated testing support |
| 58 |
* Improve diagnostic output for debugging test results |
| 59 |
* Add a "compile and link only" build of POGL |
| 60 |
* Base on GLEW or GLee implementation |
| 61 |
* Start with GLEW for more cross-platform |
| 62 |
* Can implementation be made wrapper library independent? |
| 63 |
|
| 64 |
|
| 65 |
Improve library and headers checks in Makefile.PL |
| 66 |
* Required libraries are OpenGL and a GUI/context providing toolkit |
| 67 |
* GLUT/FreeGLUT, Prima::OpenGL, GTk+, WxWidgets,... |
| 68 |
* GLUT is available on *all* GLX platforms |
| 69 |
* Mac OS X has a non-X11 GLUT library with extensions: |
| 70 |
* glutCheckLoop() -- same as glutMainLoopEvent() |
| 71 |
* glutWMCloseFunc() -- same as glutCloseFunc() |
| 72 |
* what about GLU, GLX, others? |
| 73 |
* If libraries and headers are not available exit 0 |
| 74 |
* Devel::CheckLib to check |
| 75 |
|
| 76 |
|
| 77 |
Evaluate backwards compatibility |
| 78 |
* document compatibility, at a minimum |
| 79 |
* provide feedback info to report issuues |
| 80 |
* primary goal is OpenGL, GLUT, GLU support |
| 81 |
* secondary goal is more perlish interface |
| 82 |
* move to common, clear choice as default! |
| 83 |
|
| 84 |
|
| 85 |
Clean up glp*() routine support: |
| 86 |
* add friendlier display selection function (glpInitDisplayString?) |
| 87 |
* backwards compatible where possible |
| 88 |
* strip out required GLX or X11 specific code |
| 89 |
* layer over GLUT or other GUI/context environment |
| 90 |
* N.B. *GLUT is on *all* GLX systems but may not use GLX |
| 91 |
* What is needed to support Tk+X11 bindings (just context?) |
| 92 |
* Investigate Gtk+ or wxWidgets for embedding |
| 93 |
* GLUI as an easy, simple starter (performance?) |
| 94 |
|
| 95 |
|
| 96 |
Fix examples/ directory |
| 97 |
* update to use GLUT rather than glp() |
| 98 |
* make simple toolkit wrapper |
| 99 |
* hide details of the underlying GUI layer |
| 100 |
* simplify demo code |
| 101 |
* verify all examples work (most appear to) |
| 102 |
* remove broken cruft |
| 103 |
* redo planets example to be more realistic: |
| 104 |
* planets aren't spheres |
| 105 |
* sun has no depth + jaggies |
| 106 |
* colors are off |
| 107 |
* animation is jumpy (how to smooth out) |
| 108 |
* give saturn *real* rings |
| 109 |
* what is blue wedge in earth view? |
| 110 |
* basic texture for planets |
| 111 |
|
| 112 |
|
| 113 |
Implement basic template for GLUT/GLUI apps |
| 114 |
* Simple default/bare bones option |
| 115 |
* Generic version with typical interaction |
| 116 |
* Customizable version (runtime?) |
| 117 |
* Maybe in examples directory as a module to use |
| 118 |
|
| 119 |
|
| 120 |
Add Geometry Shader support |
| 121 |
|
| 122 |
|
| 123 |
Add bindings to GLUI |
| 124 |
|
| 125 |
|
| 126 |
Add support for more GLUT variant export control: |
| 127 |
* Split GLUT into a separate module |
| 128 |
* I.e., remove GUI dependencies from POGL |
| 129 |
* Need generic context interface standard |
| 130 |
* Should be able to use Prima instead |
| 131 |
* or WxWidgets or GTk or ... |
| 132 |
* :freeglutconstants and :freeglutfunctions |
| 133 |
* :appleglutconstants and :appleglutfunctions |
| 134 |
|
| 135 |
|
| 136 |
Make code handle "missing" windows: |
| 137 |
* This is for OpenGL::GLUT |
| 138 |
* Calls glutGetWindow() and assumes win is valid |
| 139 |
* If win==0, need to handle appropriately and *not* do anything with win |
| 140 |
|
| 141 |
|
| 142 |
Implement safe glutInit |
| 143 |
* check if done_glutInit before calling glutInit() |
| 144 |
* carp/croak/quiet error settings |
| 145 |
|
| 146 |
|
| 147 |
Fix OpenGL/GLUT error handling for perl |
| 148 |
* GLUT errors should not kill the interpreter |
| 149 |
* Add carp/croak on no glutInit to glut functions to prevent exit(1) |
| 150 |
* Add carp/croak to glutDisplayFunc() with null callback. |
| 151 |
* Add carp/croak to glutSetKeyRepeat() with invalid repeat mode |
| 152 |
* Add carp/croak to glutSetCursor() with unknown cursor type |
| 153 |
* Investigate addition of adding return values to perl code |
| 154 |
* This would be great for a debug mode |
| 155 |
* No return value if not in debug mode (or always undef?) |
| 156 |
* undef for error; 1 for void or vice versa? |
| 157 |
* Add toggle & display of OpenGL errors a la glutReportErrors() |
| 158 |
* Call glGetError in a loop until no errors returned |
| 159 |
* Do check for all OpenGL commands |
| 160 |
|
| 161 |
|
| 162 |
Finish perl bindings to remaining FreeGLUT functions: |
| 163 |
* glutGetProcAddress |
| 164 |
* what does this mean at perl level? |
| 165 |
* maybe use Inline to generate a new binding |
| 166 |
* is there a runtime alternative? |
| 167 |
* glutJoystickFunc |
| 168 |
* need to add non-callback argument |
| 169 |
* document current function |
| 170 |
|
| 171 |
|
| 172 |
OpenGLUT support for building |
| 173 |
* OpenGLUT is a dead project, use FreeGLUT. |
| 174 |
* Add info to docs re *no* OpenGLUT |
| 175 |
|
| 176 |
|
| 177 |
Make POGL GLUT-proof |
| 178 |
* Make build work with GLUT-only and GLUT+FreeGLUT configurations |
| 179 |
* GLUT-only: build and run with reduced functionality |
| 180 |
* GLUT+FreeGLUT: build should correctly select and use FreeGLUT |
| 181 |
* Nothing should break if you have GLUT rather than FreeGLUT |
| 182 |
(as long as you are only using the GLUT subset of FreeGLUT) |
| 183 |
* Some functionality may be quietly disabled (glutMainLoop extensions) |
| 184 |
* Some functionality may be emulated (glutBitmapString) |
| 185 |
* make work with readline event loop for perldl shell |
| 186 |
* reverse callback strategy |
| 187 |
* what about a GUI window mode for perldl in that case? |
| 188 |
|
| 189 |
|
| 190 |
Refactor config/build for portability and simplicity |
| 191 |
* use Module::Build framework |
| 192 |
* use constant rather than XS constant function |
| 193 |
* Extract GL, GLX, and WGL constants from glew.h, glxew.h and wglew.h |
| 194 |
* Extract GLU constants from glu.h |
| 195 |
* Extract GLUT and FreeGLUT from glut.h and freeglut_*.h |
| 196 |
* Verify that these pre-extracted versions work ok |
| 197 |
* use GLEW and autogeneration for bindings |
| 198 |
* why does GLEW require GLX_VERSION_1_2? |
| 199 |
|
| 200 |
|
| 201 |
Move test apps to t/ subdirectory from test.pl |
| 202 |
* Split into interactive and non-interactive tests |
| 203 |
* Skip interactive tests if no OpenGL context |
| 204 |
* need to test for each major functionality |
| 205 |
* GL |
| 206 |
* GLU |
| 207 |
* GLUT/FreeGLUT |
| 208 |
* RPN |
| 209 |
* Array |
| 210 |
* back compatibility (glp routines) |
| 211 |
* PDL object support |
| 212 |
* NOTE: require_ok() and use_ok() don't like $VERSION w git suffix |
| 213 |
|
| 214 |
|
| 215 |
Improve support for non-standard OpenGL configurations |
| 216 |
* Add command line options for perl Makefile.PL |
| 217 |
* set CFLAGS and other build options |
| 218 |
* Make single point override for INCLUDE information |
| 219 |
* Document how to edit Makefile.PL |
| 220 |
|
| 221 |
|
| 222 |
Implement complete matrix test capability |
| 223 |
* document/implement a test matrix for regression and stability tests |
| 224 |
* setup virtualized test environment for POGL and PDL |
| 225 |
* factors to include |
| 226 |
* perl vs activeperl vs strawberry |
| 227 |
* GLX vs WGL vs CGL/AGL |
| 228 |
* hardware vs software/Mesa |
| 229 |
* OS |