Changes between Initial Version and Version 1 of Support/UserGuides/Examples/osgmemorytest

Show
Ignore:
Timestamp:
08/19/09 21:24:30 (5 years ago)
Author:
rsmeenk (IP: 85.145.66.238)
Comment:

Separated description of osgmemorytest example

Legend:

Unmodified
Added
Removed
Modified
  • Support/UserGuides/Examples/osgmemorytest

    v1 v1  
     1== Description == 
     2 
     3This example is written with the intent of testing out the capabilities of our hardware/drivers/OS's to allocate lots of windows/pbuffers on the window manage side, and lots of FBO's, texture and geometries on the OpenGL object side.[[BR]] This example has a couple of specific uses - first up it's educational - we can quickly test just how many objects we can throw at our systems and expect them to run, secondly its a diagnostic tool - so when things go wrong we can use it too recreate the problems we see in our own apps but with a small focused code set, finally it's a way of comparing capabilities across platforms/drivers - which in turn might lead back to diagnostics on problem platforms. [[BR]] Be warned that by pushing things too far, you can start stalling the machine or even crashing it in extreme cases where the OpenGL driver is misbehaving. 
     4 
     5== Usage examples == 
     6 
     71) How many windows can I open?[[BR]]Try to open 1000 windows:[[BR]]osgmemorytest --window -c 1000[[BR]] 
     8 
     92) How many pbuffers can I open?[[BR]]Try to open 1000 pbuffers:[[BR]]osgmemorytest --pbuffer -c 1000[[BR]] 
     10 
     113) How many texture objects can I open?[[BR]]Try to open 10000 256x256 RGB textures:[[BR]]osgmemorytest --texture 256 256 -g 10000[[BR]] 
     12 
     134) How many display listed based geometry objects can I open?[[BR]]Try to open 10000 32x32 geometry tile:[[BR]]osgmemorytest --geometry 32 32 -g 10000[[BR]] 
     14 
     155) How many vertex buffer object based geometry objects can I open?[[BR]]Try to open 10000 32x32 geometry tile:[[BR]]osgmemorytest --geometry-vbo 32 32 -g 10000[[BR]] 
     16 
     176) How many vertex array geometry objects can I open?[[BR]]Try to open 10000 32x32 geometry tile:[[BR]]osgmemorytest --geometry-va 32 32 -g 10000[[BR]] 
     18 
     197) How many display listed geometry objects can I open?[[BR]]Try to open 1000 256x256 fbo's[[BR]]osgmemorytest --fbo 256 256 -g 1000[[BR]] 
     20 
     218) How many display listed geometry objects can I open?[[BR]]Try to open 1000 1024x1024 fbo's[[BR]]osgmemorytest --fbo 1024 1024 -g 1000[[BR]] 
     22 
     239) How many display listed geometry objects can I open?[[BR]]Try to open 1000 2048x2048  fbo's[[BR]]osgmemorytest --fbo 2048 2048 -g 1000 ||