head 1.4; access; symbols pkgsrc-2020Q4:1.3.0.20 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.18 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.16 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.12 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.14 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.10 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.8 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.6 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.4 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.2 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.2.0.54 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.52 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.50 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.48 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.44 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.42 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.40 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.38 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.36 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.34 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.32 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.30 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.28 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.26 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.24 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.22 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.20 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.18 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.16 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.14 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.12 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.10 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.6 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.4 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.2 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.1.1.1.0.12 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.10 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.8 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.6 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.4 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.2 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2021.01.16.14.44.50; author nia; state dead; branches; next 1.3; commitid 3yUvgNMPVgzRDXDC; 1.3 date 2018.08.04.01.05.10; author nia; state Exp; branches; next 1.2; commitid Wo7gUCbFSILZSJMA; 1.2 date 2012.03.07.16.27.35; author adam; state Exp; branches; next 1.1; 1.1 date 2010.08.26.13.08.49; author adam; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.08.26.13.08.49; author adam; state Exp; branches; next ; desc @@ 1.4 log @osg: Update to 3.6.5 OpenSceneGraph 3.6 release Updates include: * OpenThreads::Affinity introduced to enable setting of processor affinity on viewer and database threads * osgText rewritten to improve visual quality, add signed distance field support and full GLES2/3 and GL3/4 support * Added VertexArrayObject support, enable full OpenGL Core Profile support under OSX. * Added OpenCASCADE plugin * Added STEP (.stp) plugin * Improvements to FBX and COLLADA loaders * Improvements to gles plugin to provide better Sketchfab support * Added osgemscripten example * Improvements to osgAnimation * NodeVisitor ValueMap for storing values that can be stored and accessed across frames, such as update, event and cull traversals * ShapeDrawable rewritten as an osg::Geometry to improve performance and flexibility * Added osg::MultiDrawArrays support * Added osgdeferred example that illustrates how to implement deferred rendering * Added MultiDrawIndirect support * Moved glDispatchCompute control out of osg::Program into a dedicated osg::DispatchCompute class to improve control of compute shaders * KdTree support added for PolytopeIntersector, and ability to work with points, lines and polygons * osgQt has been moved out to it's own dedicated osgQt github repository * CMake build support for iOS bitcode builds * CoverityScan testing introduced, fixes bring defect density to 0.0 per 1,0000 lines of code! * Support for Codedoc automated documentation * Support for Travis automated build system @ text @$NetBSD: patch-ad,v 1.3 2018/08/04 01:05:10 nia Exp $ Support NetBSD. --- src/OpenThreads/pthreads/PThread.cpp.orig 2015-04-07 18:01:12.000000000 +0000 +++ src/OpenThreads/pthreads/PThread.cpp @@@@ -135,6 +135,15 @@@@ private: { #if defined(__sgi) pthread_setrunon_np( pd->cpunum ); +#elif defined(__NetBSD__) && defined(HAVE_PTHREAD_SETAFFINITY_NP) + cpuset_t *cset; + cset = cpuset_create(); + if (cset != NULL) + { + cpuset_set(pd->cpunum, cset); + pthread_setaffinity_np(pthread_self(), cpuset_size(cset), cset); + cpuset_destroy(cset); + } #elif defined(HAVE_PTHREAD_SETAFFINITY_NP) || defined(HAVE_THREE_PARAM_SCHED_SETAFFINITY) || defined(HAVE_TWO_PARAM_SCHED_SETAFFINITY) cpu_set_t cpumask; CPU_ZERO( &cpumask ); @@@@ -592,6 +601,18 @@@@ int Thread::setProcessorAffinity(unsigne status = pthread_attr_setscope( &thread_attr, PTHREAD_SCOPE_BOUND_NP ); return status; +#elif defined(__NetBSD__) && defined(HAVE_PTHREAD_SETAFFINITY_NP) + if (pd->isRunning() && Thread::CurrentThread()==this) + { + cpuset_t *cset; + cset = cpuset_create(); + if (cset != NULL) + { + cpuset_set(pd->cpunum, cset); + pthread_setaffinity_np(pthread_self(), cpuset_size(cset), cset); + cpuset_destroy(cset); + } + } #elif defined(HAVE_PTHREAD_SETAFFINITY_NP) || defined(HAVE_THREE_PARAM_SCHED_SETAFFINITY) || defined(HAVE_TWO_PARAM_SCHED_SETAFFINITY) if (pd->isRunning() && Thread::CurrentThread()==this) @@@@ -1057,7 +1078,16 @@@@ int OpenThreads::SetProcessorAffinityOfC } else { -#if defined(HAVE_PTHREAD_SETAFFINITY_NP) || defined(HAVE_THREE_PARAM_SCHED_SETAFFINITY) || defined(HAVE_TWO_PARAM_SCHED_SETAFFINITY) +#if defined(__NetBSD__) && defined(HAVE_PTHREAD_SETAFFINITY_NP) + cpuset_t *cset; + cset = cpuset_create(); + if (cset != NULL) + { + cpuset_set(cpunum, cset); + pthread_setaffinity_np(pthread_self(), cpuset_size(cset), cset); + cpuset_destroy(cset); + } +#elif defined(HAVE_PTHREAD_SETAFFINITY_NP) || defined(HAVE_THREE_PARAM_SCHED_SETAFFINITY) || defined(HAVE_TWO_PARAM_SCHED_SETAFFINITY) cpu_set_t cpumask; CPU_ZERO( &cpumask ); CPU_SET( cpunum, &cpumask ); @ 1.3 log @graphics/osg: Update to 3.4.1. Add various options for optional dependencies. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2012/03/07 16:27:35 adam Exp $ @ 1.2 log @Changes 3.0.1: * OpenGL ES 1.1, and OpenGL ES 2.0 support * OpenGL 3.x and 4.x support along with associated OpenGL extensions * Supoort for Android on tablets and phones * Support for IOS on tablets and phones (end users applications have already been accepted on the App Store) * Introduction of Present3D application for immersive 3D presentations * New extensible serializers that provide new .osgb binary, .osgt ascii and .osgx xml file native formats * New generalized serializable metadata architecture * New osgQt library that makes it straight forward to integrate !OpenSceneGraph with Qt, including web browsing via QWebKit. * New FBX plugin based on the Audodesk FBX DSK that enables reading of the the .fbx 3D authoring and interchange format * New directshow plugin for handling movies under Windows * New pov plugin for exporting a scene to POV-Ray format, enabling use of POV-Ray to do photo-realistic ray tracing * New ply plugin for reading ply files * Improvements to osgText that enable bevelling of 3D text and highter quality 2D fonts * Improvements to osgVolume enabling high quality ray traced volume rendering * Improvements to osgManipulator making it more flexible * Improvements to osgParticle to support shader based particle effects * Revamped 3ds plugin for reading and writing of .3ds files * Revamped dxf plugin for reading and writing of .dxf files * Support for Cocoa and 64bit OSX build * Improved thread safety and efficiency of database paging * New Texture and buffer object pools for efficiently managing GL object resources @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- src/OpenThreads/pthreads/PThread.cpp.orig 2011-06-23 20:09:26.000000000 +0000 d23 1 a23 1 @@@@ -565,6 +574,18 @@@@ int Thread::setProcessorAffinity(unsigne d28 1 a28 1 + if (pd->isRunning && Thread::CurrentThread()==this) d41 2 a42 2 if (pd->isRunning && Thread::CurrentThread()==this) @@@@ -1030,7 +1051,16 @@@@ int OpenThreads::SetProcessorAffinityOfC @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- ./src/OpenThreads/pthreads/PThread.c++.orig 2009-06-22 12:51:46.000000000 +0200 +++ ./src/OpenThreads/pthreads/PThread.c++ 2009-06-22 16:55:54.000000000 +0200 @@@@ -124,6 +124,15 @@@@ d21 1 a21 1 @@@@ -537,6 +546,18 @@@@ d40 1 a40 1 @@@@ -974,7 +995,16 @@@@ @ 1.1.1.1 log @The OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries. @ text @@