diff options
author | nia <nia@pkgsrc.org> | 2021-01-16 14:44:50 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-01-16 14:44:50 +0000 |
commit | 71ba497a8cd27a9ef7e5ce06817e0249ab59bf47 (patch) | |
tree | 4f8ae4e8993650452c1c0b2c4c3f1bead8b5f09b /graphics/osg/patches | |
parent | fb5063eddeae74f2fb3c469102973bff2d7039ac (diff) | |
download | pkgsrc-71ba497a8cd27a9ef7e5ce06817e0249ab59bf47.tar.gz |
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
Diffstat (limited to 'graphics/osg/patches')
-rw-r--r-- | graphics/osg/patches/patch-ad | 59 | ||||
-rw-r--r-- | graphics/osg/patches/patch-ae | 19 |
2 files changed, 0 insertions, 78 deletions
diff --git a/graphics/osg/patches/patch-ad b/graphics/osg/patches/patch-ad deleted file mode 100644 index f49c225765d..00000000000 --- a/graphics/osg/patches/patch-ad +++ /dev/null @@ -1,59 +0,0 @@ -$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 ); diff --git a/graphics/osg/patches/patch-ae b/graphics/osg/patches/patch-ae deleted file mode 100644 index 7c887353c15..00000000000 --- a/graphics/osg/patches/patch-ae +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ae,v 1.2 2012/03/07 16:27:35 adam Exp $ - -PkgSrc does not use lib64. - ---- CMakeLists.txt.orig 2011-07-31 07:50:34.000000000 +0000 -+++ CMakeLists.txt -@@ -586,12 +586,6 @@ IF(CYGWIN) - SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG") - ENDIF() - --IF(UNIX AND NOT WIN32 AND NOT APPLE) -- IF(CMAKE_SIZEOF_VOID_P MATCHES "8") -- SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement") -- MARK_AS_ADVANCED(LIB_POSTFIX) -- ENDIF() --ENDIF() - IF(NOT DEFINED LIB_POSTFIX) - SET(LIB_POSTFIX "") - ENDIF() |