Show
Ignore:
Timestamp:
09/19/07 21:14:50 (1 year ago)
Author:
patrick
Message:

Merges from the trunk:

r20824: Added render thread CPU affinity capabilities. The default way

that this is utilized is by setting the new environment variable
VJ_DRAW_THREAD_AFFINITY to a space-separated list of zero-based
integer CPU identifiers. User-level code can change the mechanism
(for the OpenGL Draw Manager) by calling
vrj::GlDrawManager::setCpuAffinityStrategy(). For now, only the
OpenGL Draw Manager is utilizing this new feature. The Direct3D
Draw Manager does not appear to be multi-threaded at the moment,
so it has not use for it. I did not look into usage of this with
the Performer Draw Manager.

This version differs from the trunk in the following ways:

  • It is only available when VPR is compiled to use the POSIX
    subsystem
  • It is available to the OpenGL Draw Manager so that libvrj
    does not change in way that breaks binary compatibility

This is based on an idea proposed by Todd Furlong and refined
through discussion on the vrjuggler-devel mailing list.

r20832: Added new files to the build.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/vc7/VRJuggler/VRJuggler.vcproj

    r20500 r20836  
    198198                        </File> 
    199199                        <File 
     200                                RelativePath="..\..\modules\vrjuggler\vrj\Draw\CpuAffinityFromEnv.cpp"> 
     201                        </File> 
     202                        <File 
    200203                                RelativePath="..\..\modules\vrjuggler\vrj\Display\Display.cpp"> 
    201204                        </File> 
     
    272275                        <File 
    273276                                RelativePath="..\..\modules\vrjuggler\vrj\Display\CameraProjection.h"> 
     277                        </File> 
     278                        <File 
     279                                RelativePath="..\..\modules\vrjuggler\vrj\Draw\CpuAffinityFromEnv.h"> 
    274280                        </File> 
    275281                        <File